Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?
Date
Msg-id CAFj8pRDuJgYyU_ZG1mddS0TW41hA8F=Kq+aE86xUqu8cxNU9Sg@mail.gmail.com
Whole thread Raw
In response to Re: Thoughts on "SELECT * EXCLUDING (...) FROM ..."?  (Christopher Browne <cbbrowne@gmail.com>)
List pgsql-hackers
2011/10/31 Christopher Browne <cbbrowne@gmail.com>:
> There is legitimate reason to reject this on the basis of nondeterminism.
>
> While we are surely obliged to "hold our noses" and support "SELECT *", as:
> A) The SQL standard obliges us, and
> B) People already use it a lot,
>
> Neither of those factors hold true for the EXCLUDING notion.  So all things
> are decidedly not equal.
>
> By all means I find it an interesting feature, but that shouldn't be
> mistaken for necessarily being a desirable feature.
>
> I don't think I wish it.  We're telling our developers not to use "select
> *", and I don't think having "select * except " would change that policy,
> beyond requiring us to waste time explaining :
>

+1

It can carry some new problems with cache - actually we don't need
rebuild views after additing column to table or view

Pavel

> "No, we're not changing policy.  The fact that PGDG added this to 9.2 does
> *not* imply our policy was wrong."


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: myProcLocks initialization
Next
From: Jun Ishiduka
Date:
Subject: Re: Online base backup from the hot-standby