Re: [BUG] lo_open() makes a warning/falls to an assertion

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUG] lo_open() makes a warning/falls to an assertion
Date: 2008-12-02 13:52:30
Message-ID: 20081202135230.GD5672@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

KaiGai Kohei wrote:

> -- (3) tries to open it with writable mode under transaction block.
> postgres=# BEGIN;
> BEGIN
> postgres=# SELECT lo_open(24576, x'40000'::int);
> WARNING: Snapshot reference leak: Snapshot 0x96b8488 still referenced

Interesting. This is due to this patch
http://git.postgresql.org/?p=postgresql.git;a=commit;h=52d70aa5d0cdcdf9ab925fb46024b4b91760ac43

I'm investigating now. Thanks for the report.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-12-02 14:03:48 Re: [BUG] lo_open() makes a warning/falls to an assertion
Previous Message Magnus Hagander 2008-12-02 13:38:49 maintenance memory vs autovac