Re: [BUG] lo_open() makes a warning/falls to an assertion
От | Alvaro Herrera |
---|---|
Тема | Re: [BUG] lo_open() makes a warning/falls to an assertion |
Дата | |
Msg-id | 20081202140348.GF5672@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: [BUG] lo_open() makes a warning/falls to an assertion (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: [BUG] lo_open() makes a warning/falls to an assertion
Re: [BUG] lo_open() makes a warning/falls to an assertion |
Список | pgsql-hackers |
Alvaro Herrera wrote: > 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 > I'm investigating now. Thanks for the report. I think the solution is to have each large object have its own ResourceOwner, and store the snapshot in it. Otherwise the snapshot is left in the calling query's resowner, which is not good. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: