Re: Can COPY skip a header line? - Mailing list pgsql-general

From Matteo Beccati
Subject Re: Can COPY skip a header line?
Date
Msg-id 419E2110.4060709@beccati.com
Whole thread Raw
In response to Re: Can COPY skip a header line?  (Adam Witney <awitney@sghms.ac.uk>)
List pgsql-general
Hi,

> Can I get PHP to remove the first row without reading the whole file in? If
> there was a way where PHP would just chop the first row off that would be
> ideal...

If you are using "COPY table FROM stdin" and pg_put_line() it's not much
difficult to skip the first line ;)


Best regards
--
Matteo Beccati
http://phpadsnew.com
http://phppgads.com


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostegreSQL 8.0.0 Beta4 Win32
Next
From: "Taber, Mark"
Date:
Subject: Re: Phantom user in db--'128'