Re: imorting csv files into postgres

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: [PATCHES] Re: Fixes and enhancements to JDBC driver (take 2)
Следующее
От: Cedar Cox
Дата:
Сообщение: Re: [RFC] Proposed split of -interfaces list ...