Re: Large Objects and Replication question

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Large Objects and Replication question
Дата
Msg-id 20091203.003538.69381646.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Large Objects and Replication question  (Howard Cole <howardnews@selestial.com>)
Ответы Re: Large Objects and Replication question  ("Daniel Verite" <daniel@manitou-mail.org>)
Список pgsql-general
> Does anyone know of a replication solution that can handle large
> objects? Preferrably on a per database rather than per cluster basis.

pgpool-II can handle large objects. However you need to use newer API
of libpq to create large objects:

Oid lo_create(PGconn *conn, Oid lobjId);

I'm not sure Java or some other languages support the equivalent API
though.

You cannot use old API lo_creat() since it relies on OID, which
pgpool-II does not guarantee OIDs can be replicated.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

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

Предыдущее
От: Alexey Klyukin
Дата:
Сообщение: Re: Large Objects and Replication question
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: READ ONLY & I/O ERROR