Re: Large Objects and Replication question

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: howardnews(at)selestial(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Large Objects and Replication question
Date: 2009-12-02 15:35:38
Message-ID: 20091203.003538.69381646.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Gould 2009-12-02 15:39:59 Re: Roles with passwords; SET ROLE ... WITH PASSWORD ?
Previous Message Scott Marlowe 2009-12-02 15:35:22 Re: READ ONLY & I/O ERROR