| From: | Murthy Kambhampaty <murthy(dot)kambhampaty(at)goeci(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: importing db as text files |
| Date: | 2003-08-14 20:33:16 |
| Message-ID: | 2D92FEBFD3BE1346A6C397223A8DD3FC0923AA@THOR.goeci.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wednesday, August 13, 2003 17:59, Gregory S. Williamson
[mailto:gsw(at)globexplorer(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andre Truter | 2003-08-14 20:36:41 | Re: Graphical Mapping a Database |
| Previous Message | Tom Lane | 2003-08-14 20:29:49 | Re: tsearch2 in 7.4beta1 compile problem |