pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2
Date: Tue, 29 Mar 2016 04:53:59 +0000
Message-ID: <E1aklfD-0001y8-Dx@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/656ee8489053aafc85324b9ef7e91b645674ffb9

Modified Files
--------------
src/bin/pgbench/exprparse.y | 10 +++++-----
src/bin/pgbench/exprscan.l  |  9 ++++++---
src/bin/pgbench/pgbench.c   |  2 +-
3 files changed, 12 insertions(+), 9 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aklfD-0001y8-Dx@gemulon.postgresql.org>
Permalink:  ../E1aklfD-0001y8-Dx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aklfD-0001y8-Dx@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix portability issues in 86c43f4e22c0771fd0cc6bce2799802c894ee2
  In-Reply-To: <E1aklfD-0001y8-Dx@gemulon.postgresql.org>
  References: <E1aklfD-0001y8-Dx@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox