Marc G. Fournier marc
Tue Dec 20 00:19:44 PST 2005
On Mon, 19 Dec 2005, Christopher Browne wrote:

> Marc G. Fournier wrote:
>
>>
>> You are right, cleaned it all out, did another make install, and all
>> is well ...
>>
>> Now, I tried using the slony_setup.pl script, and its generating some
>> odd code:
>>
>>         echo 'Creating store paths';
>>                 store path (server = 1, client = 2, conninfo =
>> 'dbname=ams host=ams.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 1, client = 4, conninfo =
>> 'dbname=ams host=ams.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 1, client = 3, conninfo =
>> 'dbname=ams host=ams.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 2, client = 1, conninfo =
>> 'dbname=ams host=mx1.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 2, client = 4, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=mx1.hub.org port=5432 user=pgsql
>> password=pass');
>>                 store path (server = 2, client = 3, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=mx1.hub.org port=5432 user=pgsql
>> password=pass');
>>                 store path (server = 4, client = 1, conninfo =
>> 'dbname=ams host=saturn.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 4, client = 2, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=saturn.hub.org port=5432 user=pgsql
>> password=pass');
>>                 store path (server = 4, client = 3, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=saturn.hub.org port=5432 user=pgsql
>> password=pass');
>>                 store path (server = 3, client = 1, conninfo =
>> 'dbname=ams host=mx2.hub.org port=5432 user=pgsql password=pass');
>>                 store path (server = 3, client = 2, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=mx2.hub.org port=5432 user=pgsql
>> password=pass');
>>                 store path (server = 3, client = 4, conninfo =
>> 'dbname=DATABASE_NAME_HOLDER host=mx2.hub.org port=5432 user=pgsql
>> password=pass');
>>         }
>>
>> Easy to fix manually, just not sure why the setup_slony.pl script is
>> generating it ...
>
> Hmm.  I'm not sure that we have the same notions of "odd" in mind.
>
> The } at the end seems a little odd; nothing else is really leaping out
> at me.  What do you think is odd about it :-)?

dbname=DATABASE_NAME_HOLDER ?  My dbname should be ams ...




More information about the Slony1-general mailing list