Re: Copy Failure

From: <operationsengineer1(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Copy Failure
Date: 2005-08-26 17:08:28
Message-ID: 20050826170828.97117.qmail@web33304.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> <operationsengineer1(at)yahoo(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2005-08-26 17:09:42 Re: Packet sizes on transfers between client/server
Previous Message Tom Lane 2005-08-26 16:51:31 Re: Packet sizes on transfers between client/server