git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 270c9aa) | patch
As part of the work for making relocatable installs, I have re-factored
2004年5月11日 21:57:15 +0000 (21:57 +0000)
2004年5月11日 21:57:15 +0000 (21:57 +0000)
commit fda15b351a8d5ac085e309ceda25e3a71cca27d7
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.
15 files changed:
configure diff | blob | blame | history
configure.in diff | blob | blame | history
src/Makefile.global.in diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/utils/init/Makefile diff | blob | blame | history
src/bin/initdb/Makefile diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_dump/Makefile diff | blob | blame | history
src/bin/pg_dump/pg_dumpall.c diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/port/exec.c [moved from src/backend/utils/init/findbe.c with 55% similarity] diff | blob | blame | history
src/port/path.c diff | blob | blame | history
src/port/pipe.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /