Skip site navigation (1) Skip section navigation (2)

PQconnectdb crashes when it gets wrong parameter(s)

From: Stéphane Pinel <spinel(at)exenevex(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: PQconnectdb crashes when it gets wrong parameter(s)
Date: 2004-04-19 15:34:08
Message-ID: (view raw or whole thread)
Lists: pgsql-interfaces

I'm experiencing crashes using libpq call to PQconnectdb when one of 
the parameters is wrong (eg. login or password). if everything is 
right, no crash. So I would like to trap this issue but it seems that 
crash occurs during the PQconnectdb execution.

Any idea ?

Platform : MacOS X & Windows
PGSQL: 7.3.X

Thank you very much.



pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2004-04-19 17:46:38
Subject: Re: [HACKERS] Why is libpgtcl still in CVS?
Previous:From: brian plummerDate: 2004-04-19 14:13:09
Subject: PostgreSQL: libpq, win32 build

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group