Re: Mass Import/Generate PKs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Mass Import/Generate PKs
Дата
Msg-id 200411062121.25708.peter_e@gmx.net
обсуждение исходный текст
Ответ на Mass Import/Generate PKs  (Hunter Hillegas <lists@lastonepicked.com>)
Ответы Re: Mass Import/Generate PKs  (Hunter Hillegas <lists@lastonepicked.com>)
Список pgsql-general
Hunter Hillegas wrote:
> I have a CSV file with 400,000 lines of email mailing list
> information that I need to migrate to a new PostgreSQL database.
>
> Each line has all the info I need except a PK (I usually use an int4
> column for a PK).

You could import the file into PostgreSQL and add a primary key column
later.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: Report Generation
Следующее
От: Troels Arvin
Дата:
Сообщение: Re: Trying to get postgres to use an index