Re: initdb segfault - solaris 8

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb segfault - solaris 8
Дата
Msg-id 27646.1004123749@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: initdb segfault - solaris 8  (sjh@ucf.ics.uci.edu)
Ответы Re: initdb segfault - solaris 8
Список pgsql-general
sjh@ucf.ics.uci.edu writes:
> Here is the stack trace w/ --enable-debug

> #0  0x81cd6ba in ValidateBinary (
>     path=0x804718c "/pkg/postgresql-7.1.3/bin/postgres") at findbe.c:115

Well, that narrows it down to a problem with the "struct group" returned
by getgrgid() ... but the code is correct according to the man page I
have here for getgrgid.  You're going to have to dig further on your
own.

FWIW, I'd still wonder about whether the definition of "struct group"
seen by Postgres agrees with what libc thinks.

BTW: you wouldn't be getting into this code if the executable were owned
by the postgres user.  So if you can't figure it out, a workaround
should be to change the ownership.

            regards, tom lane

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

Предыдущее
От: Paulo Jan
Дата:
Сообщение: Optimizing a complex query (long)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizing a complex query (long)