From: | momjian(at)postgresql(dot)org (Bruce Momjian) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Set progname early in the postmaster/postgres binary, rather than |
Date: | 2006-02-01 00:31:59 |
Message-ID: | 20060201003159.ABF6F9DC861@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/main:
main.c (r1.99 -> r1.100)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/main/main.c.diff?r1=1.99&r2=1.100)
pgsql/src/backend/postmaster:
postmaster.c (r1.479 -> r1.480)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.479&r2=1.480)
pgsql/src/include/postmaster:
postmaster.h (r1.11 -> r1.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/postmaster.h.diff?r1=1.11&r2=1.12)
pgsql/src/port:
path.c (r1.63 -> r1.64)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c.diff?r1=1.63&r2=1.64)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2006-02-01 00:32:06 | pgsql: Set progname early in the postmaster/postgres binary, rather than |
Previous Message | Bruce Momjian | 2006-02-01 00:07:26 | pgsql: Move items: > * Add SQL99 WITH clause to SELECT > * Add SQL99 |