| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Use correct symbol for minimum int64 value |
| Date: | 2016-07-17 13:42:16 |
| Message-ID: | E1bOmKm-0001sX-Jz@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use correct symbol for minimum int64 value
The old code used SEQ_MINVALUE to get the smallest int64 value. This
was done as a convenience to avoid having to deal with INT64_IS_BUSTED,
but that is obsolete now. Also, it is incorrect because the smallest
int64 value is actually SEQ_MINVALUE-1. Fix by writing out the constant
the long way, as it is done elsewhere in the code.
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/84d67920450717d458cfaad7876fa8279fd7ced0
Modified Files
--------------
contrib/btree_gin/btree_gin.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2016-07-17 21:02:22 | pgsql: doc: Supply XSLT template for superscript element in man pages |
| Previous Message | Stephen Frost | 2016-07-17 13:04:55 | pgsql: Correctly dump database and tablespace ACLs |