Thu Sep 22 08:39:31 PDT 2011
- Previous message: [PATCH] Add back in find_my_exec() support on platforms that include pgport. find_my_exec, a postgresql pgport function is again used to find the location of the slonik binary to locate the share directory. This is for installs where the install location is not known at compile time.
- Next message: [Slony1-hackers] Request: backporting fix done for bug 218 to REL 2.0 STABLE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [PATCH] Add back in find_my_exec() support on platforms that include pgport. find_my_exec, a postgresql pgport function is again used to find the location of the slonik binary to locate the share directory. This is for installs where the install location is not known at compile time.
- Next message: [Slony1-hackers] Request: backporting fix done for bug 218 to REL 2.0 STABLE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-hackers mailing list