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: Ashutosh Sharma <ashu.coek88@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Rushabh Lathia <rushabh.lathia@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-17T17:40:21Z
Lists: pgsql-hackers
Ashutosh Sharma <ashu.coek88@gmail.com> writes:
> [ allow-create-view-on-table-without-columns-v3.patch ]

Pushed.  I revised the test cases a bit --- notably, I wanted to be
sure we exercised pg_dump's createDummyViewAsClause for this, especially
after noticing that it wasn't being tested at all before :-(

			regards, tom lane


Commits

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