[Bucardo-general] Replicating between differently-named schemas
Ami Ganguli
ami.ganguli at gmail.com
Fri Feb 17 18:49:28 UTC 2017
I think I've solved this through various hacks.
The basic problem seems to be that transforming sequences using
customname isn't implemented. I found this comment in the code that
says as much:
Bucardo,pm line 2017: "We only transform tables for now"
This might be in the docs somewhere as well, but I didn't notice it
before heading down this path.
Anyway, I've hacked support into the code. It appears to work (as of
about 10 minutes ago), but I should probably spend some time cleaning
things up and updating test cases, etc.
Are you interested in a patch if I clean it up (and get permission
from my employer - which shouldn't be an issue)?
Cheers,
Ami.
On Thu, Feb 9, 2017 at 4:06 PM, Greg Sabino Mullane <greg at endpoint.com> wrote:
>> bucardo add customname public.$line foo.$line db=remote
>> bucardo add customname foo.$line public.$line db=local
>
> Sorry, I didn't read the original message close enough. Try a
>
> bucardo list all
>
> to make sure all those customnames got set up as expected. After
> that, you could try setting log_level=DEBUG and seeing if you can
> trace why the substituions are not happening.
>
> --
> Greg Sabino Mullane greg at endpoint.com
> End Point Corporation
> PGP Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8
>
More information about the Bucardo-general
mailing list