Steve Singer ssinger at ca.afilias.info
Thu Sep 22 08:39:31 PDT 2011
In 2.1.0 and 2.0.7 we stopped linking slonik against pgport on non win32 
platforms because many people were complaining that their postgresql 
packages didn't include libpgport.a

In many versions of slony 1.2.x slonik would use the postgresql pgport 
function find_my_exec to determine the runtime location of the slony 
binary in order to determine the location of the share directory.  Some 
packagers have now complained that the location the slony binaries will 
be installed into at install time can't be known at compile time.

I am proposing the attached patch that uses a configure flag+check to 
decide if pgport is available at compile time it will call find_my_exec 
at runtime. Otherwise it falls back to the compile time pgshare.

Does this accomplish what is required without breaking anything new?

https://github.com/ssinger/slony1-engine/commit/93e097242ad8be5364fe481f7eff063d408e09d2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-back-in-find_my_exec-support-on-platforms-that-i.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-hackers/attachments/20110922/b4a5bf4a/attachment.bin 


More information about the Slony1-hackers mailing list