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.
Am Mittwoch, 5. März 2008 schrieb Jasen Betts:
> I used to do
>
> psql -U username database -c "some big long command"
>
> and that no longer works :(
Whether or not this works is determined by the operating system, not by
PostgreSQL.
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера