Обсуждение: REL7_0_PATCHES pgsql/src/backend/utils/mmgr (portalmem.c)

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

REL7_0_PATCHES pgsql/src/backend/utils/mmgr (portalmem.c)

От
tgl@postgresql.org
Дата:
  Date: Thursday, November  9, 2000 @ 23:08:25
Author: tgl
   Tag: REL7_0_PATCHES

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mmgr
     from hub.org:/home/projects/pgsql/tmp/cvs-serv43236

Modified Files:
    portalmem.c

-----------------------------  Log Message  -----------------------------

Stopgap patch for problem with cursors using hash joins: an ABORT
would cause two attempts to delete the hashtable portal, one from
query shutdown and one from portalmem.c.  Fix by making hash portals
be treated as 'special' portal names, so that CollectNamedPortals
will not think it should delete them.  This code is in need of
complete rewrite (and is already largely rewritten in current
sources), but still need to put a finger in the dike for 7.0.*.

Re: REL7_0_PATCHES pgsql/src/backend/utils/mmgr (portalmem.c)

От
The Hermit Hacker
Дата:
Beautiful ... just building a new set of tar balls right now ... please
run them through, and if nothing untold is seen in these ones, I'll do up
an official announcement on Friday night after I get to Toronto ...

Thanks Tom ...

On Thu, 9 Nov 2000 tgl@postgresql.org wrote:

>   Date: Thursday, November  9, 2000 @ 23:08:25
> Author: tgl
>    Tag: REL7_0_PATCHES
>
> Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mmgr
>      from hub.org:/home/projects/pgsql/tmp/cvs-serv43236
>
> Modified Files:
>     portalmem.c
>
> -----------------------------  Log Message  -----------------------------
>
> Stopgap patch for problem with cursors using hash joins: an ABORT
> would cause two attempts to delete the hashtable portal, one from
> query shutdown and one from portalmem.c.  Fix by making hash portals
> be treated as 'special' portal names, so that CollectNamedPortals
> will not think it should delete them.  This code is in need of
> complete rewrite (and is already largely rewritten in current
> sources), but still need to put a finger in the dike for 7.0.*.
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org