Search Postgresql Archives

Re: another failover testing question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 
>Sent: Thursday, May 26, 2005 4:30 PM
>To: David Parker
>Cc: postgres general
>Subject: Re:  another failover testing question 
>
>"David Parker" <dparker@xxxxxxxxxxxxxxxx> 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
>

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux