Why is lock not released? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Why is lock not released?
Date
Msg-id 20050819161433.GA14344@surnet.cl
Whole thread Raw
Responses Re: Why is lock not released?
List pgsql-hackers
I just noticed that AlterSchemaOwner (and others like AlterFunctionOwner
-- I haven't checked anything else yet) does not release the lock on
pg_namespace (resp. AlterFunctionOwner) after it's done changing it.  Is
there a reason for this?

I notice ATExecChangeOwner uses a different mechanism, but it still
locks the relation until transaction end.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"Ni aun el genio muy grande llegaría muy lejos
si tuviera que sacarlo todo de su propio interior" (Goethe)

Attachment

pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [GENERAL] Cascades Failing
Next
From: "Joshua D. Drake"
Date:
Subject: SetOf Functions