BUG #4010: psql does not honour -c after database name

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема BUG #4010: psql does not honour -c after database name
Дата
Msg-id 200803050020.m250Kp3J005416@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4010: psql does not honour -c after database name  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4010
Logged by:          Jasen Betts
Email address:      jasne@treshna.com
PostgreSQL version: 8.3.0 (win32)
Operating system:   XP pro
Description:        psql does not honour -c after database name
Details:

I notice psql is now enforcing the argument ordering that is documented in
the --help blurb

Is that considered a feature

I used to do

psql -U username database -c "some big long command"

and that no longer works :(

I guess this usage is going against the documented command-line format.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LISTEN/NOTIFY race condition?
Следующее
От: "Jasen Betts"
Дата:
Сообщение: BUG #4011: spelling mistake in comments