Re: proposal: new long psql parameter --on-error-stop - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal: new long psql parameter --on-error-stop
Date
Msg-id CAFj8pRDLb8n28YtEf6FNDAXnnyH+35GiLDUKWxLR7wsKJhqnrA@mail.gmail.com
Whole thread Raw
In response to Re: proposal: new long psql parameter --on-error-stop  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers



2014-02-28 23:01 GMT+01:00 Andrew Dunstan <andrew@dunslane.net>:

On 02/28/2014 04:38 PM, Tom Lane wrote:
Andrew Dunstan <andrew@dunslane.net> writes:
Well, then we just have to add more info to --help
+1 for at least doing that. I found it annoying just the other day not
to find it in plsql's --help output, in a moment of brain fade when I
forgot how to spell it. So it's not just beginners who can benefit, it's
people like me whose memory occasionally goes awry.
No objection in principle, but what are we talking about exactly?
Adding some new backslash command that lists all the variables that have
special meanings?


That's a pretty good idea, especially if we give that command a command line option too, so something like

   psql --special-variables

would run that command and exit.

it can be second one option.

Pavel
 

Maybe I'm over-egging the pudding a bit ;-)

cheers

andrew

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: proposal: new long psql parameter --on-error-stop
Next
From: Peter Geoghegan
Date:
Subject: Re: jsonb and nested hstore