Re: Populating tables with data

Поиск
Список
Период
Сортировка
От Arthur van Dorp
Тема Re: Populating tables with data
Дата
Msg-id 4129D852.6050301@gmx.net
обсуждение исходный текст
Ответ на Re: Populating tables with data  (Kumar S <ps_postgres@yahoo.com>)
Ответы Re: Populating tables with data  (Kumar S <ps_postgres@yahoo.com>)
Список pgsql-novice
Hi

> To make my question short, I have a (say) 3 tables. My data is in tab
> delimted text. I have to parse the data and direct the contents of
> each colums to columns in each table.
>
> How can I do this using Python? Any ideas please.

You don't even have to use Python. The COPY command should be enough:
http://www.postgresql.org/docs/7.4/interactive/sql-copy.html

Arthur

В списке pgsql-novice по дате отправления:

Предыдущее
От: Kumar S
Дата:
Сообщение: Re: Populating tables with data
Следующее
От: "Sean Davis"
Дата:
Сообщение: Re: Populating tables with data