Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-07-04 Thread Karsten Desler
* Tom Lane wrote: > Karsten Desler <[EMAIL PROTECTED]> writes: > > * Bruce Momjian wrote: > >> I think what you are seeing is that the getaddrinfo memory is placed in > >> the PGconn structure that isn't freed until PQclear is called. Does > >> your test call PQclear()? > > > s/PQclear/PQfinish/

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-07-03 Thread Tom Lane
Karsten Desler <[EMAIL PROTECTED]> writes: > * Bruce Momjian wrote: >> I think what you are seeing is that the getaddrinfo memory is placed in >> the PGconn structure that isn't freed until PQclear is called. Does >> your test call PQclear()? > s/PQclear/PQfinish/ > It does call PQclear on the re

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-07-03 Thread Karsten Desler
* Bruce Momjian wrote: > I think what you are seeing is that the getaddrinfo memory is placed in > the PGconn structure that isn't freed until PQclear is called. Does > your test call PQclear()? s/PQclear/PQfinish/ It does call PQclear on the result, and PQfinish on the connection. The code is at

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-07-02 Thread Bruce Momjian
Karsten Desler wrote: > * Karsten Desler wrote: > > * Bruce Momjian wrote: > > > Yes, please --- the patch is at: > > > > > > http://archives.postgresql.org/pgsql-patches/2005-06/msg00486.php > > > > Thanks. > > I've applied the patch now, and I'll keep you posted. > > It doesn't seem to have

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-06-30 Thread Karsten Desler
* Karsten Desler wrote: > * Bruce Momjian wrote: > > Yes, please --- the patch is at: > > > > http://archives.postgresql.org/pgsql-patches/2005-06/msg00486.php > > Thanks. > I've applied the patch now, and I'll keep you posted. It doesn't seem to have helped, and while poking around a little

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-06-29 Thread Karsten Desler
* Bruce Momjian wrote: > Yes, please --- the patch is at: > > http://archives.postgresql.org/pgsql-patches/2005-06/msg00486.php Thanks. I've applied the patch now, and I'll keep you posted. Best regards, Karsten Desler ---(end of broadcast)

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-06-28 Thread Bruce Momjian
Yes, please --- the patch is at: http://archives.postgresql.org/pgsql-patches/2005-06/msg00486.php --- Tom Lane wrote: > "Karsten Desler" <[EMAIL PROTECTED]> writes: > > I've got a pretty flaky tcpip connection to a

Re: [BUGS] BUG #1736: endless loop in PQconnectdb

2005-06-28 Thread Tom Lane
"Karsten Desler" <[EMAIL PROTECTED]> writes: > I've got a pretty flaky tcpip connection to a Postgres 7.4.7 database server > and often times (once or twice a day) my program gets stuck in an endless > busy-loop in PGconnectdb. Hmm. Maybe you have a test case for the proposed patch for bug #1467?

[BUGS] BUG #1736: endless loop in PQconnectdb

2005-06-28 Thread Karsten Desler
The following bug has been logged online: Bug reference: 1736 Logged by: Karsten Desler Email address: [EMAIL PROTECTED] PostgreSQL version: 7.4.7 Operating system: debian sarge Description:endless loop in PQconnectdb Details: I've got a pretty flaky tcpip connectio