Re: Verifying variable names in pgbench
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2010-01-05T03:33:47Z
Lists: pgsql-hackers
On Mon, Jan 4, 2010 at 10:00 PM, Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> wrote: > > Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> wrote: > >> We can remove the complexity if we give up showing the command (arg0) >> in error messages. Shall we remove it? Simplified patch attached. > > Here is the proposal for the arg0 issue. > I added "context" argument to putVariable(). The context is a command > name for \setXXX commands, 'option' for -D option, or 'startup' for > internal assignment in startup. What is currently done for other, similar error messages? ...Robert