Re: ON SELECT rule on a table without columns

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Rushabh Lathia <rushabh.lathia@gmail.com>, Ashutosh Sharma <ashu.coek88@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-08T14:25:07Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> You misunderstood my point: I'm asking why we shouldn't remove that check from views, rather than adding it to create rule.

+1.  This seems pretty obviously to be something we just missed when
we changed things to allow zero-column tables.

			regards, tom lane


Commits

  1. Fix CREATE VIEW to allow zero-column views.