Postgres-dump with binary data!

Поиск
Список
Период
Сортировка
От Tim Röstermundt
Тема Postgres-dump with binary data!
Дата
Msg-id 36E7C628.59C3FFF4@uni-muenster.de
обсуждение исходный текст
Список pgsql-general
Hi,

maybe someone of you may help me:
It is possible to insert binary data in text fields:  insert (text) into
table values (\1\2\3\255\0\3\7);
But is it possible to dump this data into a file with pg_dump???

I think with the C-API I can extract the data, but I cannnot backup this
table with
pg_dump. Is there any possibility to do that?
I had this problem while converting my data from mysql (sorry!)  blob
fields
to postgres text fields.  This way is okay, but the other direction
doesn't work.
I want to store my data in a postgres database. But one of the
advantages of
SQL is to simply dump a table and reload it into another database.
But this seems not to work with binary data. Is that right?

Thank you, Tim


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

Предыдущее
От: wehner@digital-security.com (Stefan Wehner)
Дата:
Сообщение: Bug with sequences in 6.4.2
Следующее
От: "William J. Stotts"
Дата:
Сообщение: Re: [GENERAL] question on converting M$ Access tables