| От | Sandeep Khandelwal |
|---|---|
| Тема | COPY command with bad input |
| Дата | |
| Msg-id | 126544.67764.qm@web33313.mail.mud.yahoo.com обсуждение |
| Ответы |
Re: COPY command with bad input
|
| Список | pgsql-interfaces |
Hi All. I am trying to load data from a text file to Postgres table using COPY command. If text file has some invalid rows then COPYcommand stops at the first error. As you can see, MySQL “load data infile” has IGNORE option. If you specify IGNORE, input rows that duplicate an existingrow on a unique key value are skipped. Do we have similar option for Postgres COPY command ? Please help me. Thanks, Sandeep ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера