Re: AW: Backend-internal SPI operations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: Backend-internal SPI operations
Date
Msg-id 1671.967731576@sss.pgh.pa.us
Whole thread Raw
In response to AW: Backend-internal SPI operations  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Responses Re: AW: Backend-internal SPI operations
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> I don't see why a real view should still be createable by the old
> create table then create rule way.

Because we'll need to be able to read dump files created by existing
versions of pg_dump.  If we don't cope with CREATE TABLE + CREATE RULE
then restored-from-dump views won't really be views and will act
differently from freshly created views.  Avoiding the resulting
support headaches is worth a little bit of ugliness in the code.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: func() & select func()
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: Patch for TNS services