Re: Materialized View Patch File

From: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>
Cc: Thom Brown <thom(at)linux(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Materialized View Patch File
Date: 2013-07-08 16:19:52
Message-ID: CAMcbDBGTikst8kN0Pxe8ghqp3WmqWurpEwQwG0ET_rMMNopH0g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks Dave.

Thanks,
Neel Patel

On Mon, Jul 8, 2013 at 6:04 PM, Dave Page <dave(dot)page(at)enterprisedb(dot)com>wrote:

> Thanks, patch applied.
>
> On Wed, Jul 3, 2013 at 8:44 AM, Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>
> wrote:
> > Hi Dave,
> >
> > Thanks for the comments.
> >
> > Find the attached patch with below fix.
> >
> > --- Incomplete comments removed and added new comments
> > --- s/Closed/Materialized/
> > --- Added column "relkind" in outer query and removed the SELECT from the
> > loop.
> > --- Combined the below statement.
> > "(collection->GetConnection()->BackendMinimumVersion(9, 3))"
> >
> > Please let me know for further comments.
> >
> > Thanks,
> > Neel Patel
> >
> >
> > On Tue, Jul 2, 2013 at 8:06 PM, Dave Page <dave(dot)page(at)enterprisedb(dot)com>
> > wrote:
> >>
> >> Hi
> >>
> >> On Tue, Jul 2, 2013 at 3:25 PM, Thom Brown <thom(at)linux(dot)com> wrote:
> >> > On 29 May 2013 10:40, Neel Patel <neel(dot)patel(at)enterprisedb(dot)com> wrote:
> >> >> Hi Dave,
> >> >>
> >> >> Please find the updated patch after fixing some of the issues and
> >> >> comments
> >> >> given by Ashesh.
> >> >
> >> > Just realised this reply has been in my draft folder for over a
> month...
> >> >
> >> >
> >> > This comment appears to be incomplete:
> >> >
> >> > //While editing the view, if it is materialized view then only change
> >>
> >> Yeah, please fix that Neel. Not sure what you were trying to say.
> >>
> >> >
> >> > The section of if... else if... else if... that begins with:
> >> >
> >> > if (name == wxT("autovacuum_vacuum_cost_delay"))
> >> >
> >> > should probably use:
> >> >
> >> > switch(name)
> >> > {
> >> > case wxT("autovacuum_vacuum_cost_delay")
> >> >
> >> > case ...
> >> > }
> >>
> >> wxString's don't play nicely with switch(), if memory serves.
> >>
> >> > Given the amount of duplicate functionality this shares with tables,
> >> > is there not a way there could be a common class they could both
> >> > inherit from to reduce maintenance overhead?
> >>
> >> Probably not a great deal of benefit. In any case, it would certainly
> >> require a lot of refactoring which is far more work than we have time
> >> for.
> >>
> >> --
> >> Dave Page
> >> Chief Architect, Tools & Installers
> >> EnterpriseDB: http://www.enterprisedb.com
> >> The Enterprise PostgreSQL Company
> >>
> >> Blog: http://pgsnake.blogspot.com
> >> Twitter: @pgsnake
> >
> >
>
>
>
> --
> Dave Page
> Chief Architect, Tools & Installers
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-07-09 08:54:52 pgAdmin III commit: Avoid the most serious side effects of the debugger
Previous Message Ashesh Vashi 2013-07-08 15:59:49 Re: PATCH: Handling too many notices from the debugging function