From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Using oid with RServ w/ Postgresql 7.2
Date: Tue, 22 Oct 2002 11:11:43 -0400
Message-ID: <20021022111143.I4016@mail.libertyrms.com> (raw)
In-Reply-To: <16978.1034948686@sss.pgh.pa.us>
References: <1034888522.3498.3.camel@lyric.ofsloans.com>
<13546.1034906114@sss.pgh.pa.us>
<1034912444.5172.17.camel@lyric.ofsloans.com>
<16978.1034948686@sss.pgh.pa.us>
On Fri, Oct 18, 2002 at 09:44:46AM -0400, Tom Lane wrote:
> Will LaShell <will@lashell.net> writes:
> > Does anyone know why rserve doesn't support/use multi-field keys for the
> > replication id?
>
> Well, the one in contrib/ is only a prototype. The version that
> PostgreSQL Inc sells commercially might have support for multi-field
> keys by now. You'd have to ask them though ...
It doesn't. The best answer really is to use a sequence and a key
field just for this. (In fact, the rserv key field _must_ be unique,
or the whole thing breaks horribly. Don't ask me how I know ;-)
I understand that dbmirror uses the primary key on each table, but it
can't handle multi-column primary keys either, so it's no help.
For what it's worth, the additional overhead on our tables hasn't
been enough for me to regret the implementation of rserv. We use the
commercial version, by the way. The prototype version isn't terribly
fast. Maybe dbmirror is a better free choice, but I don't know, as I
haven't tested it.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: Using oid with RServ w/ Postgresql 7.2
In-Reply-To: <20021022111143.I4016@mail.libertyrms.com>
References: <1034888522.3498.3.camel@lyric.ofsloans.com> <13546.1034906114@sss.pgh.pa.us> <1034912444.5172.17.camel@lyric.ofsloans.com> <16978.1034948686@sss.pgh.pa.us> <20021022111143.I4016@mail.libertyrms.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox