pgsql: Set progname early in the postmaster/postgres binary, rather than

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian)
Тема pgsql: Set progname early in the postmaster/postgres binary, rather than
Дата
Msg-id 20060201003206.B58B29DCAA9@postgresql.org
обсуждение исходный текст
Список 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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/main:
        main.c (r1.96.2.2 -> r1.96.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/main/main.c.diff?r1=1.96.2.2&r2=1.96.2.3)
    pgsql/src/backend/postmaster:
        postmaster.c (r1.475.2.2 -> r1.475.2.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.475.2.2&r2=1.475.2.3)
    pgsql/src/include/postmaster:
        postmaster.h (r1.11 -> r1.11.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/postmaster.h.diff?r1=1.11&r2=1.11.2.1)
    pgsql/src/port:
        path.c (r1.61.2.2 -> r1.61.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/path.c.diff?r1=1.61.2.2&r2=1.61.2.3)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Set progname early in the postmaster/postgres binary, rather than
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Set progname early in the postmaster/postgres binary, rather than