Re: BUG #6205: ERROR: temporary tables cannot specify a schema name - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6205: ERROR: temporary tables cannot specify a schema name
Date
Msg-id 23670.1316619338@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #6205: ERROR: temporary tables cannot specify a schema name  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: BUG #6205: ERROR: temporary tables cannot specify a schema name  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Sep 18, 2011 at 5:10 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Thu, Sep 15, 2011 at 12:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> In that case I'm betting Robert broke it somewhere in the unlogged-table
>>> changes.

>> Yeah, looks like it.  Will investigate.

> I committed a localized fix for this.  Basically, it now double-checks
> that the schema name isn't the one that would have been forced by the
> temp-ness, and doesn't throw an error if they match.

Keeping in mind that this worked before ... did you take the approach of
seeing exactly why it worked before, and why your changes broke it?
The patch you committed looked like it was introducing the functionality
from scratch, which should not have been the case.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "YAMAMOTO Takashi"
Date:
Subject: BUG #6218: TRAP: FailedAssertion("!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365)
Next
From: Tom Lane
Date:
Subject: Re: BUG #6218: TRAP: FailedAssertion("!(owner->nsnapshots == 0)", File: "resowner.c", Line: 365)