Re: [HACKERS] Confusing error message in pgbench - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] Confusing error message in pgbench
Date
Msg-id 20170803.095346.1795626841667325476.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [HACKERS] Confusing error message in pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Confusing error message in pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
>> Not really objecting, but an even better fix might be to remove the
>> restriction on the order in which the options can be specified.
> 
> Indeed.  It doesn't look that hard: AFAICS the problem is just that
> process_sql_command() is making premature decisions about whether to
> extract parameters from the SQL commands.  Proposed patch attached.

Great. Patch looks good to me.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: [HACKERS] asynchronous execution
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables