Re: "writable CTEs" - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: "writable CTEs"
Date
Msg-id 1293486434.11075.9.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: "writable CTEs"  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Responses Re: "writable CTEs"
List pgsql-hackers
On ons, 2010-12-22 at 20:44 +0200, Marko Tiikkaja wrote:
> On 2010-12-22 8:28 PM, Peter Eisentraut wrote:
> > As a side note, I think the term "writable CTE" is a misnomer.  The CTE
> > is not writable.  The CTE is the result of a write operation.
> >
> > A writable CTE would look like this:
> >
> > WITH foo AS (SELECT ...) UPDATE foo SET ...
> >
> > a bit like an updatable view.
> >
> > AFAICT, the current patch doesn't use the term, so there is no problem,
> > but just for those who are preparing propaganda and such.
> 
> I think I've used "DML WITH" in the patch, but I don't like that either. 
>   Naming this feature seems to be quite a challenge.

*Writing* CTEs is more accurate.




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: estimating # of distinct values
Next
From: Robert Haas
Date:
Subject: Re: 9.1alpha3 release notes help