From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | David Ford <david+cert(at)blue-labs(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PostGres Doubt |
Date: | 2002-06-14 03:17:01 |
Message-ID: | 2343.1024024621@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
David Ford <david+cert(at)blue-labs(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Swan | 2002-06-14 03:27:41 | Re: ATTN: Tom Lane |
Previous Message | Tom Lane | 2002-06-14 03:11:52 | Re: Making serial survive pg_dump |