COPY not handling BLOBs - Mailing list pgsql-general

From David Rysdam
Subject COPY not handling BLOBs
Date
Msg-id 41111A3C.3000404@ll.mit.edu
Whole thread Raw
Responses Re: COPY not handling BLOBs  (Doug McNaught <doug@mcnaught.org>)
List pgsql-general
I have a bunch of data in Sybase and some of it is in image fields.  We
use bcp on this data transparently all the time without major issues in
character mode.   Is there a fundamental technical reason that BLOBs
can't be COPY'd in postgresql or is it just that nobody has ever wanted
to before?

(If I was starting from scratch I'd probably be happy with
pg_dump/pg_restore, but I'd like to migrate in easy stages over from
Sybase, so I'd like the bcp files to be interchangable.)

Right now I'm having to write a program to create all the large objects
up front and record the OIDs in a file which I will then COPY in with
the rest of my data.

pgsql-general by date:

Previous
From: DeJuan Jackson
Date:
Subject: Re: Recursive PLPGSQL function?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Casting timestamp with time zone to varchar automatically