| От | Mehrab Erfani |
|---|---|
| Тема | Hi, I have a question regarding the postgresql scripting |
| Дата | |
| Msg-id | 000a01c36db5$676227e0$0e01000a@MEHRAB обсуждение исходный текст |
| Ответы |
Re: Hi, I have a question regarding the postgresql scripting
|
| Список | pgsql-admin |
Hi,I tried to get answers back from the newsgroup and the mail list of postgres.org, but wasn’t that luck yet.I did subscribe though under the name NICO, and with the mail add: nico_king2002@yahoo.comI’d appreciate it if you could answer my question. I have written a script to import some data into mydatabase tables, with the delimiter ','. Now my questionis sometime the data being sent to my tables might notmatch the data type or be corrupted and I receive an error message.One: how could I prevent that?Two: how can I divert all my error messages to a log file, where I can see the errors later?Three: how can I proceed with importing the rest of the data even though some are corrupted?Thanks Nico,P.S: I hope I am makeing sense.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера