Re: Can I read data load files without loading in db? - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Can I read data load files without loading in db?
Date
Msg-id 20060825105147.GE16535@svana.org
Whole thread Raw
In response to Can I read data load files without loading in db?  (barryc.ctr@gmail.com)
Responses Re: Can I read data load files without loading in db?  ("barry conner" <barryc.ctr@gmail.com>)
List pgsql-general
On Wed, Aug 23, 2006 at 12:27:09PM -0700, barryc.ctr@gmail.com wrote:
>   We have an awkward situation.
>
>   An affiliate organization periodically sends us a stack of CDs.  On
> the first one there are a couple of small scripts to handle installing
> the data and/or upgrading the database schema.  Most of the CD's
> contents are large data files to be used to update a postgresql
> database.

I assume from the question that the data is in pg_dump format? i.e. a
whole pile of COPY statements with data?

In that case just write a perl script to extract the data.

Or specify more precisely if that's not the problem.

Have anice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Mark Matthews
Date:
Subject: Re: [ADMIN] CMS - portal server Question
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Can I read data load files without loading in db?