From 4390b0bfbe2641ff26a35372184880348a19919e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 2 Feb 1999 03:45:56 +0000 Subject: Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. --- doc/src/sgml/ref/copy.sgml | 2 +- doc/src/sgml/ref/create_table.sgml | 14 +++++++++++++- doc/src/sgml/ref/select.sgml | 16 ++++++++++++++-- doc/src/sgml/ref/set.sgml | 4 ++-- 4 files changed, 30 insertions(+), 6 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 7fd7fb92d1..006b022412 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -248,7 +248,7 @@ Specifies that output goes to a pipe or terminal. The backslash character has other special meanings. NULL attributes are - output as "\N". A literal backslash character is output as two + represented as "\N". A literal backslash character is represented as two consecutive backslashes ("\\"). A literal tab character is represented as a backslash and a tab. A literal newline character is represented as a backslash and a newline. When loading text data diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 998c370a3b..acf0603ab8 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -18,7 +18,7 @@ 1998-09-11 -CREATE TABLE table ( +CREATE [TEMP] TABLE table ( column type [ NULL | NOT NULL ] [ UNIQUE ] [ DEFAULT value ] [column_constraint_clause | PRIMARY KEY } [ ... ] ] @@ -38,6 +38,18 @@ CREATE TABLE table ( + + + TEMP + + + + The table is created unique to this session, and is + automatically dropped on session exit. + + + + diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index f5be4b9aa1..6306b490e3 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -19,7 +19,7 @@ SELECT SELECT [ALL|DISTINCT [ON column] ] expression [ AS name ] [, ...] - [ INTO [TABLE] new_table ] + [ INTO [TEMP] [TABLE] new_table ] [ FROM table [alias ] [, ...] ] [ WHERE condition ] [ GROUP BY column [, ...] ] @@ -64,6 +64,18 @@ SELECT [ALL|DISTINCT [ON column] ] + + + TEMP + + + + The table is created unique to this session, and is + automatically dropped on session exit. + + + + new_table @@ -599,7 +611,7 @@ Create a new table from an existing table or view SELECT [ ALL | DISTINCT ] expression [ AS name ] [, ...] - INTO [ TABLE ] new_table ] + INTO [TEMP] [ TABLE ] new_table ] [ FROM table [alias] [, ...] ] [ WHERE condition ] [ GROUP BY column [, ...] ] diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml index 4edea532c4..9627c1f354 100644 --- a/doc/src/sgml/ref/set.sgml +++ b/doc/src/sgml/ref/set.sgml @@ -363,7 +363,7 @@ SET TIME ZONE { 'timezone' | LOCAL enables the genetic optimizer algorithm - for statements with 8 or more tables. + for statements with 6 or more tables. @@ -406,7 +406,7 @@ SET TIME ZONE { 'timezone' | LOCAL This algorithm is on by default, which used GEQO for - statements of eight or more tables. + statements of six or more tables. (See the chapter on GEQO in the Programmer's Guide for more information). -- cgit v1.2.1