@@ -3280,7 +3280,7 @@ in_range_timestamptz_interval(PG_FUNCTION_ARGS)
32803280
32813281 if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
32823282 ereport (ERROR ,
3283- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3283+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
32843284 errmsg ("invalid preceding or following size in window function" )));
32853285
32863286 /* We don't currently bother to avoid overflow hazards here */
@@ -3311,7 +3311,7 @@ in_range_timestamp_interval(PG_FUNCTION_ARGS)
33113311
33123312 if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
33133313 ereport (ERROR ,
3314- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3314+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
33153315 errmsg ("invalid preceding or following size in window function" )));
33163316
33173317 /* We don't currently bother to avoid overflow hazards here */
@@ -3342,7 +3342,7 @@ in_range_interval_interval(PG_FUNCTION_ARGS)
33423342
33433343 if (int128_compare (interval_cmp_value (offset ), int64_to_int128 (0 )) < 0 )
33443344 ereport (ERROR ,
3345- (errcode (ERRCODE_INVALID_PRECEDING_FOLLOWING_SIZE ),
3345+ (errcode (ERRCODE_INVALID_PRECEDING_OR_FOLLOWING_SIZE ),
33463346 errmsg ("invalid preceding or following size in window function" )));
33473347
33483348 /* We don't currently bother to avoid overflow hazards here */
0 commit comments