On Sun, Feb 17, 2019 at 11:10 PM Tom Lane wrote:
>
> Ashutosh Sharma 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 notic
Ashutosh Sharma 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 :-(
Thanks Andres for the quick review.
On Mon, Feb 11, 2019 at 3:52 PM Andres Freund wrote:
>
> Hi,
>
> On 2019-02-11 15:39:03 +0530, Ashutosh Sharma wrote:
> > Andres, Tom, Please have a look into the attached patch and let me
> > know if I'm still missing something. Thank you.
>
> > --- a/src/test
Hi,
On 2019-02-11 15:39:03 +0530, Ashutosh Sharma wrote:
> Andres, Tom, Please have a look into the attached patch and let me
> know if I'm still missing something. Thank you.
> --- a/src/test/regress/expected/create_view.out
> +++ b/src/test/regress/expected/create_view.out
> @@ -1706,9 +1706,16
On Sat, Feb 9, 2019 at 12:20 AM Ashutosh Sharma wrote:
>
> On Fri, Feb 8, 2019 at 11:32 PM Tom Lane wrote:
> >
> > Ashutosh Sharma writes:
> > > Attached is the patch that allows us to create view on a table without
> > > columns. I've also added some test-cases for it in create_view.sql.
> > >
On Fri, Feb 8, 2019 at 11:32 PM Tom Lane wrote:
>
> Ashutosh Sharma writes:
> > Attached is the patch that allows us to create view on a table without
> > columns. I've also added some test-cases for it in create_view.sql.
> > Please have a look and let me know your opinion.
>
> Haven't read the
Ashutosh Sharma writes:
> Attached is the patch that allows us to create view on a table without
> columns. I've also added some test-cases for it in create_view.sql.
> Please have a look and let me know your opinion.
Haven't read the patch, but a question seems in order here: should
we regard th
On Fri, Feb 8, 2019 at 7:55 PM Tom Lane wrote:
>
> Andres Freund 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 thing
Andres Freund 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.
regar
On Fri, Feb 8, 2019 at 3:05 PM Andres Freund wrote:
>
>
>
> On February 8, 2019 10:05:03 AM GMT+01:00, Rushabh Lathia
> wrote:
> >On Fri, Feb 8, 2019 at 12:48 PM Andres Freund
> >wrote:
> >
> >> Hi,
> >>
> >> On 2019-02-08 12:18:32 +0530, Ashutosh Sharma wrote:
> >> > When "ON SELECT" rule is c
On February 8, 2019 10:05:03 AM GMT+01:00, Rushabh Lathia
wrote:
>On Fri, Feb 8, 2019 at 12:48 PM Andres Freund
>wrote:
>
>> Hi,
>>
>> On 2019-02-08 12:18:32 +0530, Ashutosh Sharma wrote:
>> > When "ON SELECT" rule is created on a table without columns, it
>> > successfully converts a table i
On Fri, Feb 8, 2019 at 12:48 PM Andres Freund wrote:
>
> Hi,
>
> On 2019-02-08 12:18:32 +0530, Ashutosh Sharma wrote:
> > When "ON SELECT" rule is created on a table without columns, it
> > successfully converts a table into the view. However, when the same is
> > done using CREATE VIEW command, i
On Fri, Feb 8, 2019 at 12:48 PM Andres Freund wrote:
> Hi,
>
> On 2019-02-08 12:18:32 +0530, Ashutosh Sharma wrote:
> > When "ON SELECT" rule is created on a table without columns, it
> > successfully converts a table into the view. However, when the same is
> > done using CREATE VIEW command, it
Hi,
On 2019-02-08 12:18:32 +0530, Ashutosh Sharma wrote:
> When "ON SELECT" rule is created on a table without columns, it
> successfully converts a table into the view. However, when the same is
> done using CREATE VIEW command, it fails with an error saying: "view
> must have at least one column
On Fri, Feb 8, 2019 at 12:18 PM Ashutosh Sharma
wrote:
> Hi All,
>
> When "ON SELECT" rule is created on a table without columns, it
> successfully converts a table into the view. However, when the same is
> done using CREATE VIEW command, it fails with an error saying: "view
> must have at least
15 matches
Mail list logo