COPY not handling BLOBs

Поиск
Список
Период
Сортировка
От David Rysdam
Тема COPY not handling BLOBs
Дата
Msg-id 41111A3C.3000404@ll.mit.edu
обсуждение исходный текст
Ответы Re: COPY not handling BLOBs  (Doug McNaught <doug@mcnaught.org>)
Список 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 по дате отправления:

Предыдущее
От: DeJuan Jackson
Дата:
Сообщение: Re: Recursive PLPGSQL function?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Casting timestamp with time zone to varchar automatically