Re: Copy Failure - Mailing list pgsql-novice

From
Subject Re: Copy Failure
Date
Msg-id 20050826170828.97117.qmail@web33304.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Copy Failure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> <operationsengineer1@yahoo.com> writes:
> > i'm trying to copy data from a csv file into a
> PGSQL
> > 7.4 database.  i tried tab delimited and i tried
> comma
> > delimted.
>
> PG 7.4's COPY does not have any support for CSV
> format (that was added
> in 8.0).  Tab-delimited should work OK though.
>
>             regards, tom lane
>

Tom, thanks for the follow up.  i'm hoping to transfer
my db in house running PHP 5 anf PGSQL 8 within a
couple weeks.

i did try tab delimited from openoffice.org.  when i
opened the file, though, there was a character
inserted in lieu of the tab space.  i think it was a
small vertical rectangle.

should i have opened the file and seen data separated
by actual tabs?  i'm wondering if OOO.org is inserting
a character for the tabs and 7.4 is choking on the
unexpected character.

tia...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Packet sizes on transfers between client/server
Next
From: Michael Fuhr
Date:
Subject: Re: Packet sizes on transfers between client/server