pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: pgbench: Support double constants and functions.
Date: Tue, 29 Mar 2016 00:56:19 -0400
Message-ID: <14517.1459227379@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqQsz0CLBVPzfKBvAuz+ixdFf-1RB2qx+vihq46coXmwvA@mail.gmail.com>
References: <E1akhtf-0006c7-52@gemulon.postgresql.org>
	<CAB7nPqQsz0CLBVPzfKBvAuz+ixdFf-1RB2qx+vihq46coXmwvA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Tue, Mar 29, 2016 at 9:52 AM, Robert Haas <rhaas@postgresql.org> wrote:
>> pgbench: Support double constants and functions.

> Instead of INT64_MIN and INT64_MAX, I think that it would be better to
> use PG_INT64_MIN and PG_INT64_MAX.

Indeed.

> Note as well that DOUBLE is an
> existing variable type in VS (while INTEGER is not),

Ooops; that one was harder to foresee.

> A way to fix compilation here is to rename those tokens to something
> that will never conflict, like in the attached to DOUBLE_VAR and
> INTEGER_VAR, both exprparse.y and exprparse.l need an update.

Agreed, but these symbols represent constants not variables, so
I used DOUBLE_CONST and INTEGER_CONST instead.  Pushed with those
corrections, so that we can get back to looking at my own bugs :-(

			regards, tom lane


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



view thread (5+ messages)  latest in thread

Message-ID: <14517.1459227379@sss.pgh.pa.us>
Permalink:  ../14517.1459227379@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14517.1459227379@sss.pgh.pa.us

 · 

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, michael.paquier@gmail.com, rhaas@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: pgbench: Support double constants and functions.
  In-Reply-To: <14517.1459227379@sss.pgh.pa.us>
  References: <E1akhtf-0006c7-52@gemulon.postgresql.org> <CAB7nPqQsz0CLBVPzfKBvAuz+ixdFf-1RB2qx+vihq46coXmwvA@mail.gmail.com> <14517.1459227379@sss.pgh.pa.us>

* 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