Re: BUG #16340: lo_manage() crashs DB instance - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16340: lo_manage() crashs DB instance
Date
Msg-id 24271.1585924813@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16340: lo_manage() crashs DB instance  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #16340: lo_manage() crashs DB instance
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> PostgreSQL crashes if you do the following:
> $psql postgres -c 'create extension lo'
> CREATE EXTENSION
> $psql postgres -c 'select lo_manage()'
> server closed the connection unexpectedly

Huh, somebody was a bit too cute here:

    if (!CALLED_AS_TRIGGER(fcinfo)) /* internal error */
        elog(ERROR, "%s: not fired by trigger manager",
             trigdata->tg_trigger->tgname);

Will fix, thanks for the report!

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16341: Installation with EnterpriseDB Community installer in NT AUTHORITY\SYSTEM context not possible
Next
From: wcrowell
Date:
Subject: Re: BUG #16340: lo_manage() crashs DB instance