Hi, Thanks for your quick answer. I use bucardo_ctl to configure replication and it does not know "customname" option. Should I have a "bucardo" executable? Where can I find it and its documentation?
Csaba On 9 February 2013 17:17, Greg Sabino Mullane <[email protected]> wrote: > 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 >
_______________________________________________ Bucardo-general mailing list [email protected] https://mail.endcrypt.com/mailman/listinfo/bucardo-general
