Re: another failover testing question - Mailing list pgsql-general

From David Parker
Subject Re: another failover testing question
Date
Msg-id 07FDEE0ED7455A48AC42AC2070EDFF7C7467FC@corpsrv2.tazznetworks.com
Whole thread Raw
In response to another failover testing question  ("David Parker" <dparker@tazznetworks.com>)
Responses Re: another failover testing question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Sorry, neglected the version yet again: 7.4.5. What happens is that we
have active connections accessing tables that are being replicated by
slony. Then somebody does an uninstall of slony, which removes the slony
trigger from those tables. Then we start getting the OID error.

If this should indeed not be an issue in 7.4.5, I will try to come up
with a test case independent of a slony install.

Thanks.

- DAP

>-----Original Message-----
>From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>Sent: Thursday, May 26, 2005 4:30 PM
>To: David Parker
>Cc: postgres general
>Subject: Re: [GENERAL] another failover testing question
>
>"David Parker" <dparker@tazznetworks.com> writes:
>> Something that we end up doing sometimes in our failover testing is
>> removing slony replication from an "active" (data provider) server.
>> Because this involves removing triggers from tables, we end up with
>> currently connected clients getting a bunch of "OID 123 not found"
>> errors, where the OID is that of the recently removed trigger.
>
>> Is there any way short of cycling all client connections to have the
>> server processes clean that information out of their cache when an
>> object disappears like this from the database?
>
>AFAICS, there already *is* adequate interlocking for this.
>What PG version are you testing, and can you provide a
>self-contained test case?
>
>            regards, tom lane
>

pgsql-general by date:

Previous
From: Hrishikesh Deshmukh
Date:
Subject: Re: Just a crazy idea!
Next
From: Matt Miller
Date:
Subject: Re: Just a crazy idea!