Re: Initializing tables from flat files

Поиск
Список
Период
Сортировка
От googleplex6000@yahoo.com (Joe)
Тема Re: Initializing tables from flat files
Дата
Msg-id 74c02fb5.0403022135.29464129@posting.google.com
обсуждение исходный текст
Ответ на Initializing tables from flat files  (<kynn@panix.com>)
Список pgsql-novice
kynn@panix.com wrote in message news:<200403011958.i21JwO527887@panix3.panix.com>...
> I have several tables of data represented as newline-delimited records
> of tab-delimited fields in flat files.
>
> What is the easiest way (e.g. in psql) to initialize PostgreSQL tables
> from these flat files?  Is there a way to do this without writing a
> bazillion INSERT statements?
>
> Thanks!
>
> kj
>
>

COPY ... FROM ...

http://www.postgresql.org/docs/7.4/static/tutorial-populate.html

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

Предыдущее
От: Elinor Medezinski
Дата:
Сообщение: find close (duplicate) points + create index
Следующее
От: stm23
Дата:
Сообщение: using pgsql on my comp only without tcp