Re: failure and silence of SQL commands

Поиск
Список
Период
Сортировка
От Robert Poor
Тема Re: failure and silence of SQL commands
Дата
Msg-id BANLkTimnw0zh8pCn7q4UFraePn1HxecxdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: failure and silence of SQL commands  (Leif Biberg Kristensen <leif@solumslekt.org>)
Список pgsql-novice
@Lief, @Tom: Good points (especially 'and John's not exactly the first
person to forget a semicolon.' ;)

Part of the problem may be that 'postgres=#' and 'postgres-#' look
mighty similar.  If so, a simple fix would be to change PROMPT2 from
'%/%R%# ' to '%R%# ', that is, make a toplevel prompt show the
database name:

    postgres=#

and drop the database name in the 'continuation' prompt:

    -#

which would make it a lot more obvious that it's waiting for input.
John (et al) -- what do you think?

- r

В списке pgsql-novice по дате отправления:

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