Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group