[Bucardo-general] Patch to Fix Pg_class Trigger Disable/Enable & Reserved Word Table Names Problem

Greg Sabino Mullane greg at endpoint.com
Mon Mar 23 19:47:37 UTC 2009


Ben Allen wrote:
> In PostgreSQL 8.2, with pg_class trigger disabling/enabling and table
> names that are reserved words like set and sequence, there is a bug that
> the SQL executed doesn't actually disable/enable triggers.

Yikes, thanks for spotting that. I ended up calling quote_literal in addition to
quote_ident in the checktable section. Please make sure it works for you, I've
not tested it yet. Just pushed as 9f2bd5df.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 226 bytes
Desc: OpenPGP digital signature
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20090323/5a5c9a6f/attachment.bin 


More information about the Bucardo-general mailing list