pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Phil Sorber <phil@omniti.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Extension tracking temp table and causing update failure
Date: Thu, 08 Mar 2012 23:41:14 +0100
Message-ID: <m2obs6u35h.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <925.1331235861@sss.pgh.pa.us>
References: <CADAkt-i4kJn_ht=+6x408uVjQG4XKjvy3FbyMKer+oJATLWykQ@mail.gmail.com>
	<21101.1331071837@sss.pgh.pa.us>
	<87linc93iq.fsf@hi-media-techno.com>
	<8167.1331135949@sss.pgh.pa.us>
	<15629.1331145998@sss.pgh.pa.us>
	<m2y5rbxc36.fsf@2ndQuadrant.fr>
	<13187.1331227161@sss.pgh.pa.us>
	<925.1331235861@sss.pgh.pa.us>

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Ā :)

(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



view thread (12+ messages)

Message-ID: <m2obs6u35h.fsf@2ndQuadrant.fr>
Permalink:  ../m2obs6u35h.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m2obs6u35h.fsf@2ndQuadrant.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, tgl@sss.pgh.pa.us, phil@omniti.com
  Subject: Re: Extension tracking temp table and causing update failure
  In-Reply-To: <m2obs6u35h.fsf@2ndQuadrant.fr>
  References: <CADAkt-i4kJn_ht=+6x408uVjQG4XKjvy3FbyMKer+oJATLWykQ@mail.gmail.com> <21101.1331071837@sss.pgh.pa.us> <87linc93iq.fsf@hi-media-techno.com> <8167.1331135949@sss.pgh.pa.us> <15629.1331145998@sss.pgh.pa.us> <m2y5rbxc36.fsf@2ndQuadrant.fr> <13187.1331227161@sss.pgh.pa.us> <925.1331235861@sss.pgh.pa.us> <m2obs6u35h.fsf@2ndQuadrant.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox