From 5163b94e6f56dbea775e0eef486b1a18732d420a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 27 Oct 2008 08:47:14 +0000 Subject: Allow EXPLAIN on CREATE TABLE AS. --- doc/src/sgml/ref/explain.sgml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/explain.sgml b/doc/src/sgml/ref/explain.sgml index 73cea6b00fa..77fbdb87e1f 100644 --- a/doc/src/sgml/ref/explain.sgml +++ b/doc/src/sgml/ref/explain.sgml @@ -1,5 +1,5 @@ @@ -78,7 +78,8 @@ EXPLAIN [ ANALYZE ] [ VERBOSE ] statementEXPLAIN ANALYZE on an INSERT, UPDATE, - DELETE, or EXECUTE statement + DELETE, CREATE TABLE AS, + or EXECUTE statement without letting the command affect your data, use this approach: BEGIN; @@ -116,8 +117,9 @@ ROLLBACK; Any SELECT, INSERT, UPDATE, - DELETE, VALUES, EXECUTE, or - DECLARE statement, whose execution plan you wish to see. + DELETE, VALUES, EXECUTE, + DECLARE, or CREATE TABLE AS + statement, whose execution plan you wish to see. -- cgit v1.2.3