Re: ON SELECT rule on a table without columns

Ashutosh Sharma <ashu.coek88@gmail.com>

From: Ashutosh Sharma <ashu.coek88@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>, Rushabh Lathia <rushabh.lathia@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-02-18T05:51:10Z
Lists: pgsql-hackers
On Sun, Feb 17, 2019 at 11:10 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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 :-(
>

Okay. Thanks for that changes in the test-cases and committing the patch.

-- 
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com


Commits

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