Обсуждение: [HACKERS] lo_unlink causes crash

Поиск
Список
Период
Сортировка

[HACKERS] lo_unlink causes crash

От
Raymond Toy
Дата:
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

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

Re: [HACKERS] lo_unlink causes crash

От
Raymond Toy
Дата:
>>>>> "Raymond" == Raymond Toy <toy@rtp.ericsson.se> writes:


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

Argh.  This used to work.  It doesn't anymore.  The last time I know
it worked was around the 9704xx versions, maybe even 9705xx.

Ray

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