Re: how to extract data from bytea so it is be used in blob for mysql database

Поиск
Список
Период
Сортировка
От George Kao
Тема Re: how to extract data from bytea so it is be used in blob for mysql database
Дата
Msg-id 391538B440032C4488617B96B5E81556AAB2C5@nmiexch.nitrex.com
обсуждение исходный текст
Ответ на Re: how to extract data from bytea so it is be used in blob for mysql database  (Raymond O'Donnell <rod@iol.ie>)
Ответы Re: how to extract data from bytea so it is be used in blob for mysql database  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
The platform is WinXP. I have database with fields of bytea in Posgresql
8.1. The objective was to transfer the entire databasae (schema + data)
to Mysql 5.1. I used the pg_dump from Posgresql 8.1 to extract the
schema and data. With some minor touch-up of the sql script generated, I
am able to run the script with mysql.exe to store the database except
for the bytea data...


-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of Raymond
O'Donnell
Sent: Wednesday, May 13, 2009 5:52 PM
To: George Kao
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] how to extract data from bytea so it is be used
in blob for mysql database

On 13/05/2009 21:56, George Kao wrote:
> I used pg_dump to extract the data from my database with bytea fields
> (having pictures) in plain text format. I encoutered some problems to
> restore those bytea data to the blobs field in a Mysql database. Any
advice?

A bit more detail would be nice.... we're only guessing otherwise.

- Platform(s)?
- Version?
- Commands executed?
- Error messages?
- Log entries?
- ....

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie Galway Cathedral Recitals:
http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To
make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Shehjar Tikoo
Дата:
Сообщение: GlusterFS 2.0 Release
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: postgresql on windows98