Re: failure and silence of SQL commands - Mailing list pgsql-novice

From Leif Biberg Kristensen
Subject Re: failure and silence of SQL commands
Date
Msg-id 201104281940.01380.leif@solumslekt.org
Whole thread Raw
In response to failure and silence of SQL commands  ("John Payne" <jcpayne@uw.edu>)
Responses Re: failure and silence of SQL commands
List pgsql-novice
On Thursday 28 April 2011 19:21:39 John Payne wrote:
> Thank you both very much for your help; that was the problem.  Stupid of me
> (the answer came to me in the shower this morning as well).  If anyone out
> there in the developer community is listening, may I respectfully suggest
> that PSQL's behavior --- to return nothing when Enter is hit - is
> pathological.  It would be so simple to return a message like "Waiting for
> the end of the statement." and it would save novices like me a lot of very
> unhappy hours.

If you enter a line in psql without a final ; and then hit Enter, you should
notice that the prompt changes from a => to a ->. There's your "Waiting for
the end of the statement" message.

Your suggestion is, frankly said, ridiculous.

regards, Leif.

pgsql-novice by date:

Previous
From: "John Payne"
Date:
Subject: failure and silence of SQL commands
Next
From: Robert Poor
Date:
Subject: Re: failure and silence of SQL commands