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.
Showing
- src/backend/main/main.c 9 additions, 1 deletionsrc/backend/main/main.c
- src/backend/postmaster/postmaster.c 1 addition, 10 deletionssrc/backend/postmaster/postmaster.c
- src/backend/tcop/postgres.c 4 additions, 11 deletionssrc/backend/tcop/postgres.c
- src/bin/initdb/Makefile 3 additions, 7 deletionssrc/bin/initdb/Makefile
- src/bin/pg_dump/Makefile 4 additions, 8 deletionssrc/bin/pg_dump/Makefile
- src/bin/psql/Makefile 3 additions, 7 deletionssrc/bin/psql/Makefile
- src/bin/psql/print.c 4 additions, 1 deletionsrc/bin/psql/print.c
- src/interfaces/ecpg/preproc/Makefile 3 additions, 7 deletionssrc/interfaces/ecpg/preproc/Makefile
- src/port/exec.c 60 additions, 22 deletionssrc/port/exec.c
- src/port/pipe.c 1 addition, 42 deletionssrc/port/pipe.c
Loading
Please register or sign in to comment