Re: Can I read data load files without loading in db?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: barry conner <barryc(dot)ctr(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can I read data load files without loading in db?
Date: 2006-08-25 11:51:50
Message-ID: 20060825115150.GF16535@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Aug 25, 2006 at 07:36:38AM -0400, barry conner wrote:
> Thanks for your reply Martijn.
> I do not know for certain that its in pg_dump format, not having dealt
> with it specificly before. I will examine the files more closely to look
> for COPY statements. If not in that format, what else could it be that
> could be shoved right into a postgresql database? In any case, would an
> associated file (schema type?) tell me the field name arrangements that the
> data files are loaded with? or if COPY statements are used, would they
> name the fields being targeted?

It really depends on the format they send you. It's either plain text,
in which case the COPY commands will tell you which fields. If it's the
custom format you can use tar to extract it IIRC.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2006-08-25 11:53:30 Re: invalid byte sequence ?
Previous Message Bradley Kieser 2006-08-25 11:48:17 Re: CMS - portal server Question