Steve Singer ssinger_pg at sympatico.ca
Tue Sep 13 15:41:04 PDT 2011
Dan Goodliffe wrote:
> OK, it's slonik.c 1909 and 1995 in beta1.... I guess that could be 
> different in more recent versions.
> 
>          else if ((adminfo->pg_version >= 90000) && (adminfo->pg_version 
> < 90100)) /* 9.0 */
> 
> I changed the second version to 90200 to include all v9.1s, might be 
> right, might not.

This change will only remove the 'warning message' inside that if blocks 
  does the same thing for 8.4, 9.0 and anything unrecognized (ie 9.1) 
other than the warning message.

Thanks for playing around with 2.1.0 betas.  I love to hear positive 
test reports.

> 
> On 13/09/11 23:29, Dan Goodliffe wrote:
>> I've been playing with 9.1 and slony 2.1.0 betas.
>> Without digging into the code again (I can if you want) there are two
>> places where it checks the server version number (major.minor in the
>> form of 90100 I think) but treats anything above 90000 as unsupported
>> and goes for 8.4 support... which doesn't work.
>> I manually changed those points to be 90100 and it worked like charm.



More information about the Slony1-general mailing list