Re: Command tags in create/drop scripts

Поиск
Список
Период
Сортировка
От CAJ CAJ
Тема Re: Command tags in create/drop scripts
Дата
Msg-id 467669b30705311422m572c675dsb5d8dfe06112ec4e@mail.gmail.com
обсуждение исходный текст
Ответ на Command tags in create/drop scripts  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers


On 5/31/07, CAJ CAJ <pguser@gmail.com> wrote:

> Can it me made to return an integer like most UNIX commands do? This helps
> immensely when writing shell scripts.

Don't they do that already?  If not, that's a bug quite independent of
Peter's cosmetic concern.


Ah, I just tested it. create/drop user commands does return an integer. It's not mentioned in the manpages though. 

BTW, there is a "-q" option to quieten the output.

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: EXPLAIN feature request
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum versus rolled-back transactions