Re: importing db as text files

Поиск
Список
Период
Сортировка
От Murthy Kambhampaty
Тема Re: importing db as text files
Дата
Msg-id 2D92FEBFD3BE1346A6C397223A8DD3FC0923AA@THOR.goeci.com
обсуждение исходный текст
Ответ на importing db as text files  (expect <expect@ihubbell.com>)
Список pgsql-general
On Wednesday, August 13, 2003 17:59, Gregory S. Williamson
[mailto:gsw@globexplorer.com] wrote:

>
>I tend to use perl to preprocess dumps (in our case from
>Informix). It tends to work much faster than shell scripts
>(although your mileage may vary). I have to fix missing
>numeric values (if the column allows nulls why can't the copy
>command accept an empty field, I wonder?)

Have you tried "copy <tbl> from stdin with null as '';" or am I missing
something?

See
http://techdocs.postgresql.org/techdocs/usingcopy.php
or the postgresql documentation for more info.

Cheers,
    Murthy

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tsearch2 in 7.4beta1 compile problem
Следующее
От: Andre Truter
Дата:
Сообщение: Re: Graphical Mapping a Database