Re: "writable CTEs"

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <david(at)fetter(dot)org>,<peter(dot)geoghegan86(at)gmail(dot)com>
Cc: <marko(dot)tiikkaja(at)cs(dot)helsinki(dot)fi>,<peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: "writable CTEs"
Date: 2010-12-28 01:09:41
Message-ID: 4D18E4750200002500038C04@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2010-12-28 01:15:49 Re: Suggesting a libpq addition
Previous Message Tomas Vondra 2010-12-28 00:20:31 Re: estimating # of distinct values