mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
pgindent fix for a63df26642
Oversight in commit a63df26642 per buildfarm member koel.
This commit is contained in:
@@ -4716,9 +4716,10 @@ text_right(PG_FUNCTION_ARGS)
|
||||
if (n < 0)
|
||||
{
|
||||
/*
|
||||
* Negating PG_INT32_MIN would overflow, so clamp instead. Any n whose
|
||||
* absolute value is at least the string's length skips the whole
|
||||
* string, and len can't exceed PG_INT32_MAX, so this is equivalent.
|
||||
* Negating PG_INT32_MIN would overflow, so clamp instead. Any n
|
||||
* whose absolute value is at least the string's length skips the
|
||||
* whole string, and len can't exceed PG_INT32_MAX, so this is
|
||||
* equivalent.
|
||||
*/
|
||||
if (unlikely(n == PG_INT32_MIN))
|
||||
n = PG_INT32_MAX;
|
||||
|
||||
Reference in New Issue
Block a user