@@ -3280,7 +3280,7 @@ in_range_timestamptz_interval(PG_FUNCTION_ARGS)
3280
3280
3281
3281
if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
3282
3282
ereport (ERROR ,
3283
- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3283
+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
3284
3284
errmsg ("invalid preceding or following size in window function" )));
3285
3285
3286
3286
/* We don't currently bother to avoid overflow hazards here */
@@ -3311,7 +3311,7 @@ in_range_timestamp_interval(PG_FUNCTION_ARGS)
3311
3311
3312
3312
if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
3313
3313
ereport (ERROR ,
3314
- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3314
+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
3315
3315
errmsg ("invalid preceding or following size in window function" )));
3316
3316
3317
3317
/* We don't currently bother to avoid overflow hazards here */
@@ -3342,7 +3342,7 @@ in_range_interval_interval(PG_FUNCTION_ARGS)
3342
3342
3343
3343
if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
3344
3344
ereport (ERROR ,
3345
- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3345
+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
3346
3346
errmsg ("invalid preceding or following size in window function" )));
3347
3347
3348
3348
/* We don't currently bother to avoid overflow hazards here */
0 commit comments