Re: EXPLAIN CREATE TABLE AS - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: EXPLAIN CREATE TABLE AS
Date
Msg-id 200810231537.48574.dfontaine@hi-media.com
Whole thread Raw
In response to Re: EXPLAIN CREATE TABLE AS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Le jeudi 23 octobre 2008, Tom Lane a écrit :
> Peter Eisentraut <peter_e@gmx.net> writes:
> > It turns out you cannot EXPLAIN on CREATE TABLE AS, but it seems to work
> > fine if I extend the grammar as below:
>
> This seems to me to be something that will look like a wart, not a
> feature, from the user's point of view.  You can't explain CREATE TABLE,
> but you can explain CREATE TABLE AS?  It's just weird.  It feels to me
> like exposing an implementation artifact.

As a user, I'm disagreeing about the weirdness of it. +1 for Peter's
initiative.

Regards,
--
dim

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pg_hba options parsing
Next
From: Peter Eisentraut
Date:
Subject: Re: EXPLAIN CREATE TABLE AS