Re: PostGres Doubt

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostGres Doubt
Дата
Msg-id 2343.1024024621@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostGres Doubt  (David Ford <david+cert@blue-labs.org>)
Список pgsql-hackers
David Ford <david+cert@blue-labs.org> writes:
> I'm using md5 in pg_hba.conf.  That is the method, no?
> I'm writing a milter application which instantiates a private resource 
> for each thread upon thread startup.  I have priv->conn which I 
> establish as priv->conn=PQconnectdb(connstr), connstr is const char 
> *connstr="host=10.0.0.5 dbname=bmilter user=username password=password";

> It segfaults depending on it's mood but it tends to happen about 50-70% 
> of the time.

Could you dig out ye olde gdb and figure out *why* it's segfaulting?
At the very least, give us a stack backtrace from a debug-enabled build.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Making serial survive pg_dump
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PATCHES] Chinese GB18030 support is implemented!