Re: bug in on_error_rollback !? - Mailing list pgsql-hackers

From Neil Conway
Subject Re: bug in on_error_rollback !?
Date
Msg-id 1161961859.27820.58.camel@localhost.localdomain
Whole thread Raw
In response to Re: bug in on_error_rollback !?  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-hackers
On Fri, 2006-10-27 at 03:50 -0500, Andrew Dunstan wrote:
> psql variables and commands are not SQL, and are case sensitive. For
> example, \ds and \dS are not at all the same.
> 
> This is documented clearly on the psql man page, so it is simply not a
> bug

It may be documented, but \set still has a terrible user interface.
There is no feedback about whether a variable has been successfully
changed. Updates to non-existent variables are silently accepted, and
references to non-existent variables do not result in an error. I've
complained about this before[1], but there wasn't a consensus on how to
improve this behavior (given the need for backward compatibility).

-Neil

[1] http://mail-archive.com/pgsql-hackers@postgresql.org/msg41273.html




pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: [PATCHES] GUC description cleanup
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: [PATCHES] WAL logging freezing