Re: Materialized views WIP patch

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Kevin Grittner <kgrittn(at)ymail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Marko Tiikkaja <pgmail(at)joh(dot)to>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Materialized views WIP patch
Date: 2013-02-21 13:05:29
Message-ID: CA+TgmoajyWDF=+8p1=R51soMqtJ+p25xwTfOC_zgg_UMLCreSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Feb 20, 2013 at 11:14 PM, Greg Stark <stark(at)mit(dot)edu> wrote:
> On Wed, Feb 20, 2013 at 9:25 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> More generally, I would consider the invalidation of a materialized view
>> a DDL command, whereas truncating a table is a DML command.
>
> That's not entirely true. From the database's point of view, TRUNCATE
> is in many ways actually DDL.
>
> I actually don't really dislike using "TRUNCATE" for this command.

Me neither. I'm astonished that we're seriously considering adding
new keywords for this.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-02-21 13:20:11 Re: Materialized views WIP patch
Previous Message Tom Lane 2013-02-21 11:43:37 pgsql: Teach MSVC build system about postgres_fdw.

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-02-21 13:20:11 Re: Materialized views WIP patch
Previous Message Robert Haas 2013-02-21 11:27:48 Re: posix_fadvise missing in the walsender