Move find_my_exec() way up into main.c so it is available to the

Bruce Momjian <bruce@momjian.us>

Commit: a9fad44372881bc3fd1a5d194d6b3f80c54ceae0
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-05-18T20:18:59Z
Releases: 8.0.0
Move find_my_exec() way up into main.c so it is available to the
timezone code and other places.

Remove elog() calls from find_my_exec;  do fprintf(stderr) instead.  We
can then remove the exec.c handling in the makefile because it doesn't
have to be built to suppress elog calls.

Files

PathChange+/−
src/backend/main/main.c modified +9 −1
src/backend/postmaster/postmaster.c modified +1 −10
src/backend/tcop/postgres.c modified +4 −11
src/bin/initdb/Makefile modified +3 −7
src/bin/pg_dump/Makefile modified +4 −8
src/bin/psql/Makefile modified +3 −7
src/bin/psql/print.c modified +4 −1
src/interfaces/ecpg/preproc/Makefile modified +3 −7
src/port/exec.c modified +60 −22
src/port/pipe.c modified +1 −42