Re: COPY not handling BLOBs

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: COPY not handling BLOBs
Дата
Msg-id 874qniu704.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на COPY not handling BLOBs  (David Rysdam <drysdam@ll.mit.edu>)
Ответы Re: COPY not handling BLOBs  (David Rysdam <drysdam@ll.mit.edu>)
Список pgsql-general
David Rysdam <drysdam@ll.mit.edu> writes:

> 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.

You might consider using "bytea" instead of large objects, unless you
need the lo_read()/lo_seek() API in your client app...  I'm not
super-familiar with how bytea and COPY work together, though.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

В списке pgsql-general по дате отправления:

Предыдущее
От: Prabu Subroto
Дата:
Сообщение: altering the datatype of a column.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Casting timestamp with time zone to varchar automatically