Re: Bug #800: Bad free in function PQclear

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ymaillet(at)dialoca(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #800: Bad free in function PQclear
Date: 2002-10-18 14:02:08
Message-ID: 17289.1034949728@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> I send a query with bad function.

> The server answer me an error with text : ERROR: Function 'octet_length(unknown)' does not exist
> Unable to identify a function that satisfies the given argument types
> You may need to add explicit typecasts.

> Then, i call PQclear to free result context, the core is dump with memory fault.

Are you sure this isn't your own bug --- like calling PQclear twice on
the same PGresult in your error-recovery code path?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Brian Macy 2002-10-18 17:41:09 Re: Pg 7.2.3 int8 value out of range
Previous Message Tom Lane 2002-10-18 13:27:34 Re: Pg 7.2.3 int8 value out of range