]> granicus.if.org Git - postgresql/commit
Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2ec.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Mar 2016 04:53:53 +0000 (00:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Mar 2016 04:53:53 +0000 (00:53 -0400)
commit656ee8489053aafc85324b9ef7e91b645674ffb9
treebeface55de6e59cafb1131133393b2edb42e7a4c
parent5d4171d1c70edfe3e9be1de9e66603af28e3afe1
Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2ec.

INT64_MIN/MAX should be spelled PG_INT64_MIN/MAX, per well established
convention in our sources.  Less obviously, a symbol named DOUBLE causes
problems on Windows builds, so rename that to DOUBLE_CONST; and rename
INTEGER to INTEGER_CONST for consistency.

Also, get rid of incorrect/obsolete hand-munging of yycolumn, and fix
the grammar for float constants to handle expected cases such as ".1".

First two items by Michael Paquier, second two by me.
src/bin/pgbench/exprparse.y
src/bin/pgbench/exprscan.l
src/bin/pgbench/pgbench.c