[Bucardo-general] bug report - custom code maps

Greg Sabino Mullane greg at endpoint.com
Sat Sep 5 11:36:44 UTC 2009


> ERROR:  new row for relation "customcode_map" violates check constraint
> "customcode_map_syncgoat"
> In statement:
> INSERT INTO "bucardo"."customcode_map" ("code", "sync", "goat",
> "active", "priority", "cdate") VALUES ('3', 'mailaddresses_t2', 0,
> FALSE, 0, now())

You are setting the goat column to 0, but you need to set it to null:

INSERT INTO bucardo.customcode_map (code,sync,goat,active)
VALUES (3,'mailaddresses_t2',NULL,FALSE);

-- 
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/20090905/22dcd72a/attachment.bin 


More information about the Bucardo-general mailing list