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: FFE87349-9216-11D8-9CC9-000A27AFF5D2@exenevex.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
hello,

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.

Stéphane


Responses

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-2014 The PostgreSQL Global Development Group