Re: failure and silence of SQL commands

Поиск
Список
Период
Сортировка
От Leif Biberg Kristensen
Тема Re: failure and silence of SQL commands
Дата
Msg-id 201104281940.01380.leif@solumslekt.org
обсуждение исходный текст
Ответ на failure and silence of SQL commands  ("John Payne" <jcpayne@uw.edu>)
Ответы Re: failure and silence of SQL commands  (Robert Poor <rdpoor@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "John Payne"
Дата:
Сообщение: failure and silence of SQL commands
Следующее
От: Robert Poor
Дата:
Сообщение: Re: failure and silence of SQL commands