1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Consistently use PG_INT(16|32|64)_(MIN|MAX).

Per buildfarm animal woodlouse.
This commit is contained in:
Andres Freund
2017-12-12 18:15:22 -08:00
parent 4c6744ed70
commit f512a6e132
7 changed files with 13 additions and 13 deletions

View File

@ -6226,7 +6226,7 @@ numericvar_to_int64(const NumericVar *var, int64 *result)
if (!neg)
{
if (unlikely(val == INT64_MIN))
if (unlikely(val == PG_INT64_MIN))
return false;
val = -val;
}