Re: Extension tracking temp table and causing update failure - Mailing list pgsql-bugs

From Dimitri Fontaine
Subject Re: Extension tracking temp table and causing update failure
Date
Msg-id m2obs6u35h.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Extension tracking temp table and causing update failure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.us> writes:
> Actually, after I got done hacking the temp-schema case, I realized that
> preventing temp tables from becoming extension members isn't so ugly as
> I first thought; in fact, it's pretty much a one-liner, and much cleaner
> than hacking ON COMMIT DROP.  PFA a patch that fixes both of the
> temp-table issues.

Awesome.  I'm surprised we have so few callers of NamespaceCreate, but
that makes sense indeed.  Nice localized patch, and I know why I want to
upgrade to 9.1.4 sometime later=C2=A0:)

(extensions with PL functions that you need to drop when the API
 changes, you need to alter extension drop function in the script before
 9.1.4).

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: table row type and query-specified row type do not match
Next
From: spamik@yum.pl
Date:
Subject: BUG #6524: lpermission denied to create extension "ltree". Must be superuser to create this extension.