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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c6ef326) | patch
Set progname early in the postmaster/postgres binary, rather than doing
Wed, 1 Feb 2006 00:31:59 +0000 (00:31 +0000)
Wed, 1 Feb 2006 00:31:59 +0000 (00:31 +0000)
commit 62a142036ba59c8167ab4539a414e56ba4c39faa
Set progname early in the postmaster/postgres binary, rather than doing
it later. This fixes a problem where EXEC_BACKEND didn't have progname
set, causing a segfault if log_min_messages was set below debug2 and our
own snprintf.c was being used.

Also alway strdup() progname.

Backpatch to 8.1.X and 8.0.X.
src/backend/main/main.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/include/postmaster/postmaster.h diff | blob | blame | history
src/port/path.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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