| От | Lamar Owen |
|---|---|
| Тема | Re: imorting csv files into postgres |
| Дата | |
| Msg-id | 3A67666B.423F14CF@wgcr.org обсуждение исходный текст |
| Ответ на | imorting csv files into postgres (mike <mike@cyborg-group.com>) |
| Список | pgsql-interfaces |
Adam Lang wrote: > Yeah, but he doesn't want to have to create the table before hand, he wants > postgresql to do all the work. ;) > The only way that I know of to do that is write a program and feed it the > CSV file... but in the program it is going to need to create the table. I have such a script for AOLserver Tcl that does all the work. But it requires a working AOLserver/PostgreSQL installation, which will take longer to set up than a simple perl script would take to be written. The hard part is the CSV parsing -- creating the table and filling in the data is easy in comparison, especially in the Pg perl interface. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера