On Sat, Feb 09, 2013 at 03:19:20PM +0100, Csaba Simon wrote:
> Hi,
> 
> I would like to replicate a table to a schema with different name, I mean
> schema name of the table in target database differs from the source schema
> name. I found the term "customname" in glossary of Bucardo documentation,
> but I cannot find how to use it. Or should I use "customcode" feature? How
> does it work?

Yes, customname is what you want. If the source database has a table 
named public.foobar and you want the target database (let's call it B) 
to receive things in the "sales" schema, you would run:

bucardo add customname public.foobar sales.foobar db=B

-- 
Greg Sabino Mullane [email protected]
End Point Corporation
PGP Key: 0x14964AC8

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to