pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rob Brown-Bayliss <rob@ZOOstation.cc>
Cc: Postgres Mailing list <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] PQfinish kills my app
Date: Thu, 18 Nov 1999 00:45:47 -0500
Message-ID: <27686.942903947@sss.pgh.pa.us> (raw)
In-Reply-To: <383389E0.A139756F@ZOOstation.cc>

Rob Brown-Bayliss <rob@ZOOstation.cc> writes:
> So I don't understand why it dies on PQfinish one way but not the
> other.  But, if I do not call exit_nicely (ie: just end without
> PQfinish) ir dies on option -v but works for option -a

Kinda sounds like you might be calling PQfinish more than once on
the same connection object.  That's a no-no.

> PS: By die I mean seagfault, I traced wit with gdb to the PQfinish
> function.  As I am new to the GNU tools (and fairly new to C) I am not
> sure whats going on.  I could post the code, but was not sure about the
> list rules, it's 8 k long.

People have posted much larger messages than 8k with less reason.
If the multiple-calls idea doesn't pan out, let's see it...

			regards, tom lane



view thread (2+ messages)

Message-ID: <27686.942903947@sss.pgh.pa.us>
Permalink:  ../27686.942903947@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27686.942903947@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rob@ZOOstation.cc
  Subject: Re: [INTERFACES] PQfinish kills my app
  In-Reply-To: <27686.942903947@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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