CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: [EMAIL PROTECTED] 04/05/11 18:57:15
Modified files:
. : configure configure.in
src : Makefile.global.in
src/backend/postmaster: postmaster.c
src/backend/tcop: postgres.c
src/backend/utils/init: Makefile
src/bin/initdb : Makefile initdb.c
src/bin/pg_dump: Makefile pg_dumpall.c
src/include : miscadmin.h port.h
src/port : path.c pipe.c
Added files:
src/port : exec.c
Removed files:
src/backend/utils/init: findbe.c
Log message:
As part of the work for making relocatable installs, I have re-factored
all the code that looks for other binaries. I move FindExec into
port/exec.c (and renamed it to find_my_binary()). I also added
find_other_binary that looks for another binary in the same directory as
the calling program, and checks the version string.
The only behavior change was that initdb and pg_dump would look in the
hard-coded bindir directory if it can't find the requested binary in the
same directory as the caller. The new code throws an error. The old
behavior seemed too error prone for version mismatches.
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly