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

From Joshua D. Drake
Subject Re: Can COPY skip a header line?
Date
Msg-id 419E1E8A.3060004@commandprompt.com
Whole thread Raw
In response to Can COPY skip a header line?  (Adam Witney <awitney@sghms.ac.uk>)
List pgsql-general
> pg_put_Line)
>
> I liked Toms idea to create a temporary table, but I need to be able to get
> rid of the header row then... Is there anyway of avoiding getting PHP
> involved in the file processing?

You could write a server side function to do the processing. You could
even use plPHP if that is your preferred language.

Sincerely,

Joshua D. Drake



>
> Any ideas?
>
> Thanks
>
> Adam
>
>


--
Command Prompt, Inc., home of PostgreSQL Replication, and plPHP.
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
Mammoth PostgreSQL Replicator. Integrated Replication for PostgreSQL

Attachment

pgsql-general by date:

Previous
From: Secrétariat
Date:
Subject: Re: PostegreSQL 8.0.0 Beta4 Win32
Next
From: Tom Lane
Date:
Subject: Re: PostegreSQL 8.0.0 Beta4 Win32