Re: insert aborted commands ignored
| От | Andrew Gierth |
|---|---|
| Тема | Re: insert aborted commands ignored |
| Дата | |
| Msg-id | 871s4sa63w.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
| Ответ на | Re: insert aborted commands ignored (Pepe TD Vo <pepevo@yahoo.com>) |
| Ответы |
Re: insert aborted commands ignored
Re: insert aborted commands ignored |
| Список | pgsql-admin |
>>>>> "Pepe" == Pepe TD Vo <pepevo@yahoo.com> writes: Pepe> here how I run the script Pepe> $ psql -U postgres -d CIDR < insert.sql > insert_cidrmgmt.txt psql -v ON_ERROR_STOP=1 -U postgres -d CIDR < insert.sql > insert_cidrmgmt.txt That tells psql to stop on the first error, so you'll be able to see what the real error was. Your .txt file does not capture the error because you redirected only stdout, and errors go to stderr instead. -- Andrew (irc:RhodiumToad)
В списке pgsql-admin по дате отправления: