[HACKERS] lo_unlink causes crash - Mailing list pgsql-hackers

From Raymond Toy
Subject [HACKERS] lo_unlink causes crash
Date
Msg-id 3676e9f4651bebc1b0a0014785363616
Whole thread Raw
List pgsql-hackers
System:  pgsql 970611, Solaris 2.5.1

Symptom:  Calling lo_unlink in libpq causes the backend to crash.

Create any large object either via psql or libpq.  Then call lo_unlink
in libpq.  This causes the backend to dump core.  I can't track this
one down because the backtrace seems incomplete;  it stops at
explain_outNode.  Calling libpq lo_unlink is supposed to call the
backends lo_unlink, which calls inv_destroy.  The stack trace doesn't
show any of these functions.  I can't even get gdb to break on any of
these functions.

Oh well.  The work around right now is to do "drop table xinv<lo-oid>"
which has the same effect.

Ray

------------------------------

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Forms package and other companion software.
Next
From: Andrew Martin
Date:
Subject: [HACKERS] Irix-specific FAQ