Re: PATCH: pgbench allow '=' in \set - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PATCH: pgbench allow '=' in \set
Date
Msg-id 25798.1431023677@sss.pgh.pa.us
Whole thread Raw
In response to Re: PATCH: pgbench allow '=' in \set  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: PATCH: pgbench allow '=' in \set  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2015-05-07 20:18 GMT+02:00 Fabien COELHO <coelho@cri.ensmp.fr>:
>> The attached patch just ignores a leading '=' in a pgbench expression.

> It is question :( - it break a consistency with psql

I've got doubts about this too: it introduces fundamental inconsistency
in pgbench itself, which may come back to bite us later.  Who's to say
that '=' will never be a meaningful operator in pgbench expressions?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: INSERT ... ON CONFLICT error messages
Next
From: Bruce Momjian
Date:
Subject: Re: Auditing extension for PostgreSQL (Take 2)