pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PQconnectdb crashes when it gets wrong parameter(s)
2+ messages / 2 participants
[nested] [flat]

* PQconnectdb crashes when it gets wrong parameter(s)
@ 2004-04-19 15:34  Stéphane Pinel <spinel@exenevex.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Stéphane Pinel @ 2004-04-19 15:34 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PQconnectdb crashes when it gets wrong parameter(s)
@ 2004-04-20 22:00  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Stéphane Pinel <spinel@exenevex.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2004-04-20 22:00 UTC (permalink / raw)
  To: Stéphane Pinel <spinel@exenevex.com>; +Cc: pgsql-interfaces

=?ISO-8859-1?Q?St=E9phane_Pinel?= <spinel@exenevex.com> writes:
> I'm experiencing crashes using libpq call to PQconnectdb when one of 
> the parameters is wrong (eg. login or password).

Please give a reproducible example.  It doesn't crash for other people...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-04-20 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19 15:34 PQconnectdb crashes when it gets wrong parameter(s) Stéphane Pinel <spinel@exenevex.com>
2004-04-20 22:00 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox