On Mon, Jun 27, 2011 at 4:40 PM, Kohei KaiGai <kai...@kaigai.gr.jp> wrote: > The attached patch is rebased one towards the latest tree, using > relation_openrv_extended().
Committed. > Although it is not a matter in this patch itself, I found a problem on > the upcoming patch > that consolidate routines associated with DropStmt. > Existing RemoveRelations() acquires a lock on the table owning an > index to be removed > in the case when OBJECT_INDEX is supplied. > However, the revised get_object_address() opens the supplied relation > (= index) in same > time with lookup of its name. So, we may break down the > relation_openrv_extended() > into a pair of RangeVarGetRelid() and relation_open(). Not without looking at the patch. I will respond on that thread when I've read through it more thoroughly. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers