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

From Kevin Grittner
Subject Re: "writable CTEs"
Date
Msg-id 4D18E4750200002500038C04@gw.wicourts.gov
Whole thread Raw
In response to "writable CTEs"  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: "writable CTEs"  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
List pgsql-hackers
Peter Geoghegan  wrote:
> It's worth noting that officially (i.e. in the docs), we don't even
> call CTEs CTEs at any point. We call them WITH queries. I think
> that that's a mistake because we call them CTEs everywhere else.
> 
> Is there interest in correcting this, by putting "CTEs" or "Common
> table expressions" in parenthesis after "WITH queries" in the docs
> at certain select places? I could write a documentation patch.
Personally, I think it's worth fixing.  This sort of disjunction
between code and documentation can cause confusing for someone
trying to get started on hacking.  It is an exception to the
otherwise excellent documentation of both the product and the code.
-Kevin


pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: estimating # of distinct values
Next
From: Merlin Moncure
Date:
Subject: Re: Suggesting a libpq addition