Rename postgres95 to PostgreSQL. Add comment for SELECT NULL
authorBruce Momjian <[email protected]>
Wed, 11 Dec 1996 00:32:08 +0000 (00:32 +0000)
committerBruce Momjian <[email protected]>
Wed, 11 Dec 1996 00:32:08 +0000 (00:32 +0000)
61 files changed:
src/backend/executor/execTuples.c
src/man/abort.l
src/man/alter_table.l
src/man/begin.l
src/man/built-in.3
src/man/catalogs.3
src/man/cleardbdir.1
src/man/close.l
src/man/cluster.l
src/man/commit.l
src/man/copy.l
src/man/create_aggregate.l
src/man/create_database.l
src/man/create_function.l
src/man/create_index.l
src/man/create_operator.l
src/man/create_rule.l
src/man/create_table.l
src/man/create_type.l
src/man/create_version.l
src/man/create_view.l
src/man/createdb.1
src/man/createuser.1
src/man/delete.l
src/man/destroydb.1
src/man/destroydb.l
src/man/destroyuser.1
src/man/drop.l
src/man/drop_aggregate.l
src/man/drop_function.l
src/man/drop_index.l
src/man/drop_operator.l
src/man/drop_rule.l
src/man/drop_type.l
src/man/end.l
src/man/fetch.l
src/man/grant.l
src/man/initdb.1
src/man/insert.l
src/man/ipcclean.1
src/man/large_objects.3
src/man/libpq.3
src/man/listen.l
src/man/load.l
src/man/monitor.1
src/man/notify.l
src/man/page.5
src/man/pg_dump.1
src/man/postgres.1
src/man/postmaster.1
src/man/psql.1
src/man/purge.l
src/man/remove_view.l
src/man/rename.l
src/man/revoke.l
src/man/rollback.l
src/man/select.l
src/man/sql.l
src/man/unix.1
src/man/update.l
src/man/vacuum.l

index 9fe975786639d0e3300312d5fb7470ddb6361bee..f88cb1c0f3ff5d5bee5473e49147565aebb4c29d 100644 (file)
@@ -14,7 +14,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.4 1996/12/07 04:37:06 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/executor/execTuples.c,v 1.4.2.1 1996/12/11 00:30:26 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -939,6 +939,7 @@ ExecTypeFromTL(List *targetList)
        TupleDescInitEntry(typeInfo,
                   resdom->resno,
                   resdom->resname,
+                  /* fix for SELECT NULL ... */
                   get_id_typname(restype?restype:UNKNOWNOID),
                   0,
                   false);
index c4aea44e8264057bd4aae31773b67a881c76c796..d4e5980916aa404ce525d7de083f56c1394ad664 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.1 1996/11/14 10:15:07 scrappy Exp $
-.TH ABORT SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/abort.l,v 1.1.2.1 1996/12/11 00:30:44 momjian Exp $
+.TH ABORT SQL 01/23/93 PostgreSQL PostgreSQL
 .\" XXX This .XA has to go after the .TH so that the index page number goes
 .\"    in the right place...
 .SH Abort
index 1a4cb82aa2052a4622b987086abefd319c1ace61..7792832230d0585ec196a7575797f4b2920c2527 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/alter_table.l,v 1.1 1996/11/14 10:15:09 scrappy Exp $
-.TH "ALTER TABLE" SQL 11/5/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/alter_table.l,v 1.1.2.1 1996/12/11 00:30:47 momjian Exp $
+.TH "ALTER TABLE" SQL 11/5/95 PostgreSQL PostgreSQL
 .SH NAME
 alter table \(em add attributes to a class
 .SH SYNOPSIS
index 6f11a4bae786110a57e60f3b37b9a8d445877a37..e033e6434b3240654c7fbc227b86ce235cf793c0 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.1 1996/11/14 10:15:11 scrappy Exp $
-.TH BEGIN SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/begin.l,v 1.1.2.1 1996/12/11 00:30:50 momjian Exp $
+.TH BEGIN SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 begin \(em begins a transaction
 .SH SYNOPSIS
index af50320071de8ad69b167eaf8933afb2aaed719d..adf83b90e98b23796773a0c244238b475a955e26 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/built-in.3,v 1.2 1996/11/15 17:55:26 momjian Exp $
-.TH BUILT-INS INTRO 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/built-in.3,v 1.2.2.1 1996/12/11 00:30:52 momjian Exp $
+.TH BUILT-INS INTRO 11/05/95 PostgreSQL PostgreSQL
 .SH "DESCRIPTION"
 This section describes the data types, functions and operators
 available to users in Postgres as it is distributed.
index 0a1b93dac0c809e7a8a24fb1e6a9b216a4ad18d5..36526e72572dc978b5f571dd79a2d2f603def304 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/catalogs.3,v 1.1 1996/11/14 10:15:20 scrappy Exp $
-.TH "SYSTEM CATALOGS" INTRO 03/13/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/catalogs.3,v 1.1.2.1 1996/12/11 00:30:54 momjian Exp $
+.TH "SYSTEM CATALOGS" INTRO 03/13/94 PostgreSQL PostgreSQL
 .SH "Section 7 \(em System Catalogs"
 .de LS
 .PP
index 6df6ffe8be3a6fcd50f5a7f37c50b72a09cd4dad..6dfe4a894c6af6a7a977b85141646bbb1b7186a2 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/cleardbdir.1,v 1.1 1996/11/14 10:15:24 scrappy Exp $
-.TH CLEARDBDIR UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/cleardbdir.1,v 1.1.2.1 1996/12/11 00:30:57 momjian Exp $
+.TH CLEARDBDIR UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 cleardbdir \(em completely destroys all database files
 .SH SYNOPSIS
index 4220d3120a9f3571cc5083ff831a1569efbe0943..110e52096c6b068083069f6c578ea0c7221db66e 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/close.l,v 1.1 1996/11/14 10:15:27 scrappy Exp $
-.TH CLOSE SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/close.l,v 1.1.2.1 1996/12/11 00:30:58 momjian Exp $
+.TH CLOSE SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 close \(em close a cursor
 .SH SYNOPSIS
index 38707d21416359cf4a31017bd39721bd623fe59a..0ddc9c78595949f343054760de4d40418fd6db37 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/cluster.l,v 1.1 1996/11/14 10:15:32 scrappy Exp $
-.TH CLUSTER SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/cluster.l,v 1.1.2.1 1996/12/11 00:30:59 momjian Exp $
+.TH CLUSTER SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 cluster \(em give storage clustering advice to Postgres
 .SH SYNOPSIS
index 5078816a85db2630153074208b1506bf94c2cff9..bb0782c32fc4496556729e3bd1d55098ebe3a8f6 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.1 1996/11/14 10:15:36 scrappy Exp $
-.TH COMMIT SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/commit.l,v 1.1.2.1 1996/12/11 00:31:00 momjian Exp $
+.TH COMMIT SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 commit \(em commit the current transaction 
 .SH SYNOPSIS
index 9a0499ddc6fe1f26a72f0f29d74148fd0e55e0cb..b88131e245d419620d5feb9d2b2bcc6a4688aa08 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/copy.l,v 1.1 1996/11/14 10:15:39 scrappy Exp $
-.TH COPY SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/copy.l,v 1.1.2.1 1996/12/11 00:31:01 momjian Exp $
+.TH COPY SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 copy \(em copy data to or from a class from or to a Unix file.
 .SH SYNOPSIS
@@ -101,7 +101,7 @@ attributes are output as \\N.
 A literal backslash character is output 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 ASCII data not generated by Postgres95, you will need to
+When loading ASCII data not generated by PostgreSQL, you will need to
 convert backslash characters (\\) to double-backslashes (\\\\) so
 they are loaded properly.
 .SS "BINARY COPY FORMAT"
index a1b4e4db257defa18ee8c8afb44df7a1c329fffc..03abaa40db1ede9a696ce013771656952ecaf684 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_aggregate.l,v 1.3 1996/12/04 14:23:16 momjian Exp $
-.TH "CREATE AGGREGATE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_aggregate.l,v 1.3.2.1 1996/12/11 00:31:02 momjian Exp $
+.TH "CREATE AGGREGATE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create aggregate \(em define a new aggregate
 .SH SYNOPSIS
index f7e5be29b70850c88a1079e15ba39effddfe60d0..2ddb0e864237a26864424bd1867eca6fd8aac732 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.1 1996/11/14 10:15:45 scrappy Exp $
-.TH "CREATE DATABASE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_database.l,v 1.1.2.1 1996/12/11 00:31:04 momjian Exp $
+.TH "CREATE DATABASE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create database \(em create a new database
 .SH SYNOPSIS
index 69101eef4ff84ba9f2fc2a0a71e5ad014b3c4ab6..2fc48a5ac91816914a09cbff20c10802c773b1f7 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.1 1996/11/14 10:15:48 scrappy Exp $
-.TH "CREATE FUNCTION" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.1.2.1 1996/12/11 00:31:05 momjian Exp $
+.TH "CREATE FUNCTION" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH "NAME"
 create function \(em define a new function
 .SH "SYNOPSIS"
index a322865db505e020afdf4014e496e2904e80a170..5b573ad7296090eed38dc5b4296e3c6a7384c1ee 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.2 1996/11/16 05:45:56 momjian Exp $
-.TH "CREATE INDEX" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.2.2.1 1996/12/11 00:31:06 momjian Exp $
+.TH "CREATE INDEX" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create index \(em construct a secondary index
 .SH SYNOPSIS
index 37f0ff585ff300bfdcf180b7a5e616a11cda5906..2c82b34f065676bd19970d57ae87d4f62a12a65b 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.2 1996/11/30 04:56:18 momjian Exp $
-.TH "CREATE OPERATOR" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.2.2.1 1996/12/11 00:31:07 momjian Exp $
+.TH "CREATE OPERATOR" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create operator \(em define a new user operator
 .SH SYNOPSIS
index 98c1ba02a2c0992019b545b48800a08059add643..e61f523ed498eec1c51e60e714d22098d15194e4 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.1 1996/11/14 10:16:03 scrappy Exp $
-.TH "CREATE RULE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.1.2.1 1996/12/11 00:31:09 momjian Exp $
+.TH "CREATE RULE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create rule \(em define a new rule
 .SH SYNOPSIS
index 4469f05dfe38c61099b551844647c21f8af94071..b8a8e3225f2591aa7c4a0a7ba87554627e795b2a 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.1 1996/11/14 10:16:08 scrappy Exp $
-.TH "CREATE TABLE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.1.2.1 1996/12/11 00:31:10 momjian Exp $
+.TH "CREATE TABLE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create table \(em create a new class
 .SH SYNOPSIS
index 014e5241e64579338d8d32f5e2fdead811fad90f..e2d1da702158d58b03ab764878219ee202d0cbd2 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_type.l,v 1.1 1996/11/14 10:16:12 scrappy Exp $
-.TH "CREATE TYPE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_type.l,v 1.1.2.1 1996/12/11 00:31:11 momjian Exp $
+.TH "CREATE TYPE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create type \(em define a new base data type 
 .SH SYNOPSIS
index 7aa53058dfd0b17c9d4b67ac7e06694af016f8f9..df5385ff67fb78aa725fc990cd1e15b3b4ff7ff1 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_version.l,v 1.1 1996/11/14 10:16:15 scrappy Exp $
-.TH "CREATE VERSION" SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_version.l,v 1.1.2.1 1996/12/11 00:31:13 momjian Exp $
+.TH "CREATE VERSION" SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 create version \(em construct a version class 
 .SH SYNOPSIS
index 1b0bed76e1a1e6e22c15f4220326007f05c6651a..37409565000e78487d40f3a0c9a9e216f98a69d4 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/create_view.l,v 1.1 1996/11/14 10:16:17 scrappy Exp $
-.TH "CREATE VIEW" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/create_view.l,v 1.1.2.1 1996/12/11 00:31:14 momjian Exp $
+.TH "CREATE VIEW" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 create view \(em construct a virtual class
 .SH SYNOPSIS
index e3ea1b86d2c47d67b70ec47fe31288f4366c7e75..66add4a37c7a2eff0831600c603dc498aac1a879 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/createdb.1,v 1.1 1996/11/14 10:16:20 scrappy Exp $
-.TH CREATEDB UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/createdb.1,v 1.1.2.1 1996/12/11 00:31:17 momjian Exp $
+.TH CREATEDB UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 createdb \(em create a database
 .SH SYNOPSIS
index 8cc5cb1f461ab511ba7da7d3268682ae632a8135..73544e6de65a03c1496ef3deb7227c2fe3695a91 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/createuser.1,v 1.1 1996/11/14 10:16:23 scrappy Exp $
-.TH CREATEUSER UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/createuser.1,v 1.1.2.1 1996/12/11 00:31:18 momjian Exp $
+.TH CREATEUSER UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 createuser \(em create a Postgres user
 .SH SYNOPSIS
index fa3b254d4bd33cdedfcfca28055a03613d67fe6e..3687560916c8582950923c566ec817b83ba04df9 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/delete.l,v 1.1 1996/11/14 10:16:29 scrappy Exp $
-.TH DELETE SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/delete.l,v 1.1.2.1 1996/12/11 00:31:19 momjian Exp $
+.TH DELETE SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 delete \(em delete instances from a class
 .SH SYNOPSIS
index ea49424545da56b5ac38aa980aa1c546cb0d881c..07b03c9c14f9e0a535f5141d384c369b97eba285 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/destroydb.1,v 1.1 1996/11/14 10:16:32 scrappy Exp $
-.TH DESTROYDB UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/destroydb.1,v 1.1.2.1 1996/12/11 00:31:21 momjian Exp $
+.TH DESTROYDB UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 destroydb \(em destroy an existing database
 .SH SYNOPSIS
index 283f604f5723bc7e6f96611c9d03285092e28221..cca7199ef58bf9c67b2eae2240731818157b4c06 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/destroydb.l,v 1.1 1996/11/14 10:16:35 scrappy Exp $
-.TH DESTROYDB SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/destroydb.l,v 1.1.2.1 1996/12/11 00:31:22 momjian Exp $
+.TH DESTROYDB SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 drop database \(em destroy an existing database
 .SH SYNOPSIS
index 6234776fd473ea3f10c3c218f85c88fae5c45ba7..a4e796b2ccb48667c7043c7919c4a034054e4224 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/destroyuser.1,v 1.1 1996/11/14 10:16:39 scrappy Exp $
-.TH DESTROYUSER UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/destroyuser.1,v 1.1.2.1 1996/12/11 00:31:23 momjian Exp $
+.TH DESTROYUSER UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 destroyuser \(em destroy a Postgres user and associated databases
 .SH SYNOPSIS
index ccf42efdf413f9ab9c10640db902e1f427858caf..1164e12d8dbe5f93d0b85b222b4f7840840f25e6 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.1 1996/11/14 10:16:43 scrappy Exp $
-.TH "DROP TABLE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop.l,v 1.1.2.1 1996/12/11 00:31:24 momjian Exp $
+.TH "DROP TABLE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop table \(em destroy existing classes
 .SH SYNOPSIS
index e7c277596046b5988bb5d0a92ad9c923c69a3598..9f2e11dae2e0b04db6edae8dc8d958f963672a80 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_aggregate.l,v 1.1 1996/11/14 10:16:47 scrappy Exp $
-.TH "DROP AGGREGATE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_aggregate.l,v 1.1.2.1 1996/12/11 00:31:25 momjian Exp $
+.TH "DROP AGGREGATE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop aggregate \(em remove the definition of an aggregate
 .SH SYNOPSIS
index f7a80358f22ac63a6c52d773805f223f66ba1e80..6853d86b5b0a95bffad6b6217e00cd8916df1bc6 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_function.l,v 1.1 1996/11/14 10:16:53 scrappy Exp $
-.TH "DROP FUNCTION" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_function.l,v 1.1.2.1 1996/12/11 00:31:27 momjian Exp $
+.TH "DROP FUNCTION" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop function \(em remove a user-defined C function 
 .SH SYNOPSIS
index 5ad8aa16d926a70c399cf7b2664ca2d3d2373452..6b9bed0ebf88b22a6504a5127d4e650cd1bc00e3 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_index.l,v 1.1 1996/11/14 10:17:01 scrappy Exp $
-.TH "DROP INDEX" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_index.l,v 1.1.2.1 1996/12/11 00:31:28 momjian Exp $
+.TH "DROP INDEX" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop index \(em removes an index from Postgres
 .SH SYNOPSIS
index 544a1e3fc9758613737703556d63b838de259d7e..8db241dd5d4f4e8883cd7e0c8d9cfbe5a0d4e6a7 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_operator.l,v 1.1 1996/11/14 10:17:04 scrappy Exp $
-.TH "DROP OPERATOR" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_operator.l,v 1.1.2.1 1996/12/11 00:31:29 momjian Exp $
+.TH "DROP OPERATOR" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop operator \(em remove an operator from the system
 .SH SYNOPSIS
index b57f7b9c8faddc928a94a214775e044b3d1e3740..25bcf2cda9990fc06fb2aa8a343095aa73dbfa30 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_rule.l,v 1.1 1996/11/14 10:17:07 scrappy Exp $
-.TH "DROP RULE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_rule.l,v 1.1.2.1 1996/12/11 00:31:30 momjian Exp $
+.TH "DROP RULE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop rule \- removes a current rule from Postgres 
 .SH SYNOPSIS
index 5899a2dea4872ea2c6a52d12a70fcb49f6dbe34d..e95e4b908149dd2a172b64c6719e501a3d8e20a1 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_type.l,v 1.1 1996/11/14 10:17:09 scrappy Exp $
-.TH "DROP TYPE" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/drop_type.l,v 1.1.2.1 1996/12/11 00:31:32 momjian Exp $
+.TH "DROP TYPE" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 drop type \(em remove a user-defined type from the system catalogs
 .SH SYNOPSIS
index 01b880e42b6be8f62d288a7009aa7cf5b487de11..b33191e0ebc4eb6f6352b7b26b2f1f529c3c9c5c 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/end.l,v 1.1 1996/11/14 10:17:10 scrappy Exp $
-.TH END SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/end.l,v 1.1.2.1 1996/12/11 00:31:33 momjian Exp $
+.TH END SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 end \(em commit the current transaction 
 .SH SYNOPSIS
index 02b06068ca4a195d77cacb1d9bb675934935648c..d412854239d94bc746e40cb1142a242151a07baa 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.1 1996/11/14 10:17:13 scrappy Exp $
-.TH FETCH SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/fetch.l,v 1.1.2.1 1996/12/11 00:31:34 momjian Exp $
+.TH FETCH SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 fetch \(em fetch instance(s) from a cursor
 .SH SYNOPSIS
index a761893f7c0de366ba29ac91c2b4099583a93cb4..2761a766073c21372d4e971d8a65e92bdcfa5ffe 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/grant.l,v 1.1 1996/11/14 10:17:15 scrappy Exp $
-.TH GRANT SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/grant.l,v 1.1.2.1 1996/12/11 00:31:35 momjian Exp $
+.TH GRANT SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 grant \(em grant access control to a user or group
 .SH SYNOPSIS
index 57e829651c1557281fc43fcd1aa1c3833a663056..35c087bb48fd498b24c7e952f7216f395f0f4722 100644 (file)
 .\" This is -*-nroff-*-
-.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/initdb.1,v 1.1 1996/11/14 10:17:17 scrappy Exp $
-.TH INITDB UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/initdb.1,v 1.1.2.1 1996/12/11 00:31:37 momjian Exp $
+.TH INITDB UNIX 11/29/96 PostgreSQL PostgreSQL
 .SH NAME
-initdb \(em initalize the database templates and primary directories
+initdb \(em create a new Postgres database system
 .SH SYNOPSIS
 .BR "initdb"
 [\c
-.BR "-d"
+.BR "--pglib="\c
+.IR "directory"\c
 ]
 [\c
-.BR "-n"
+.BR "--pgdata="\c
+.IR "directory"\c
 ]
 [\c
-.BR "-r directory"
+.BR "--username="\c
+.IR "username"\c
 ]
 [\c
-.BR "-t"
+.BR "--template"\c
 ]
 [\c
-.BR "-u username"
+.BR "--noclean"\c
 ]
 [\c
-.BR "-v"
+.BR "--debug"\c
+]
+
+.BR "initdb"
+[\c
+.BR "-l"
+.IR "directory"\c
 ]
+[\c
+.BR "-r"
+.IR "directory"\c
+]
+[\c
+.BR "-u"
+.IR "username"\c
+]
+[\c
+.BR "-t"\c
+]
+[\c
+.BR "-n"\c
+]
+[\c
+.BR "-d"\c
+]
+
+
 .SH DESCRIPTION
 .IR Initdb
-sets up the initial template databases and is normally executed as
-part of the installation process.  The template database is created
-under the directory specified by the the environment variable 
-.SM PGDATA,
-or to a default specified at compile-time.  The template database
-is then 
-.BR vacuum ed.
+Creates a new Postgres database system.  A database system is a
+collection of databases that are all administered by the same Unix user
+and managed by a single postmaster.
 .PP
+Creating a database system consists of creating the directories in which
+the database data will live, generating the shared catalog tables 
+(tables that don't belong to any particular database), and
+creating the
+.IR template1
+database.  What is the 
+.IR template1
+database?  When you create a database, Postgres does it by copying
+everything from the
+.IR template1
+database.  It contains catalog tables filled in for things like the
+builtin types.
+.PP     
+After 
+.IR initdb
+creates the database, it 
+.BR vacuum 's
+it.
+.PP
+There are 3 ways to give parameters to 
+.IR initdb .
+First, you can use initdb command options.  Second, you can set environment
+variables before invoking initdb.  Third, you can have a program called
+.IR postconfig
+in your Unix command search path. 
 .IR Initdb
-is a shell script that invokes the backend server directly.  Hence, it
-must be executed by the Postgres super-user.
+invokes that program and the program writes 
+.IR initdb
+parameters to its standard output stream.
+.PP
+Command options always override parameters specified any other way.
+The values returned by
+.IR postconfig 
+override any environment variables, but your
+.IR postconfig 
+program may base its output on the environment variables if you want
+their values to be used.
+.PP
+The value that 
+.IR postconfig 
+outputs must have the format
+.PP
+    var1=value1 var2=value2 ...  
+.PP
+It can output nothing if it doesn't want to supply any parameters.
+The "varN" values are equal to the corresponding environment variable
+names.  For example, outputting "PGDATA=/tmp/postgres_test" has the
+same effect as invoking
+.IR initdb 
+with an environment variable called "PGDATA" whose value is
+"/tmp/postgres_test".
+.PP
+There are 3 parameters you must supply to initdb to tell it how to 
+create the database system:
+.PP
+1) Where are the files that make up Postgres?  Apart from files that
+have to go in particular directories because of their function, the
+files that make up the Postgres software were installed in a directory
+called the "pglib" directory.  An example of a file that will be found
+there that 
+.IR initdb
+needs is global1.bki.source, which contains all the information that goes
+into the shared catalog tables.  Use the 
+.BR --pglib
+(\c
+.BR -l )
+option or the 
+.BR PGLIB
+environment variable.
+.PP
+2) Where in your Unix filesystem do you want the database data to go?
+The top level directory is called the "pgdata" directory.  Use the
+.BR --pgdata 
+(\c
+.BR -d )
+option or the 
+.BR PGDATA
+environment variable.
+.PP
+3) Who will be the Postgres superuser for this database system?  The
+Postgres superuser is a Unix user that owns all files that store the database
+system and also owns the postmaster and backend processes that access them.
+Use the
+.BR --username
+(\c
+.BR -u )
+option or the 
+.BR PGUSER
+environment variable.  Or just let it default to you (the Unix user who
+runs
+.IR initdb ).
+Note that only the Unix superuser can create a database system with a
+different user as Postgres superuser.
+
+
+
 .PP
 .IR Initdb
 understands the following command-line options:
-.TP
-.BR "-d"
-Print debugging output from the backend server.  This option generates
-a tremendous amount of information.  This option also turns off the
-final vacuuming step.
-.TP
+
+.BR "--pglib="\c
+.IR "directory"
+.BR "-l"
+.IR "directory"
+
+Use the Postgres files in the specified directory, as explained above.
+
+.BR "--pgdata="\c
+.IR "directory"
+.BR "-r"
+.IR "directory"
+
+Put the database system in this directory, as explained above.
+
+.BR "--username="\c
+.IR "username"
+.BR "-u"
+.IR "username"
+
+Build the database system with the specified Unix user as the Postgres
+superuser for it, as explained above.
+
+.BR "--template"
+.BR "-t"
+
+Replace the
+.IR template1
+database in an existing database system, and don't touch anything else.
+This is useful when you need to upgrade your 
+.IR template1
+database using 
+.IR initdb
+from a newer release of Postgres, or when your 
+.IR template1
+database has become corrupted by some system problem.  Normally the
+contents of
+.IR template1
+remain constant throughout the life of the database system.  You can't
+destroy anything by running
+.IR initdb
+with the 
+.BR --template
+option.
+
+.BR "--noclean"
 .BR "-n"
+
 Run in \*(lqnoclean\*(rq mode.  By default, 
+when 
 .IR initdb
-cleans up (recursively unlinks) the data directory if any error
-occurs, which also removes any core files left by the backend server.
-This option inhibits any tidying-up.
-.TP
-.BR "-r directory"
-Use the specified data directory.
-.TP
-.BR "-t"
-Update template database only.
-.TP
-.BR "-u username"
-Run as the specified username.
-.TP
-.BR "-v"
-Produce verbose output, printing messages stating where the
-directories are being created, etc.
+determines that error prevent it from completely creating the database
+system, it removes any files it may have created before determining
+that it can't finish the job.  That includes any core files left by
+the programs it invokes.  This option inhibits any tidying-up and is
+thus useful for debugging.
+
+.BR "--debug"
+.BR "-d"
+
+Print debugging output from the bootstrap backend.  
+The bootstrap backend is the program 
+.IR initdb
+uses to create the catalog tables.  This option generates a tremendous
+amount of output.  It also turns off the final vacuuming step.
+
+
 .SH FILES
 .TP
-\&$PGDATA/base
-The location of global (shared) classes.
+postconfig
+(Somewhere in the Unix command search path (defined by the PATH environment
+variable)).  This is a program that specifies defaults for some of the
+command options.  See above.
 .TP
-\&$PGDATA/base/template1
-The location of the template database.
+PGLIB/global1.bki.source
+Contents for the shared catalog tables in the new database system.  This
+file is part of the Postgres software.
 .TP
-\&$PGDATA/files/{global1,local1_template1}.bki
-Command files used to generate the global and template databases,
-generated and installed by the initial compilation process.
+PGLIB/local1_template1.bki.source
+Contents for the template1 tables in the new database system.  This
+file is part of the Postgres software.
+
 .SH "SEE ALSO"
-createdb(1),
 vacuum(l),
-bki(files),
-template(files).
+bki(5),
+create_database(l),
+createuser(1),
+psql(1)
+
+
index b6404c79d603236027372880b2ceb5d2f5288a9f..c40c81bb4d09d8c2f21ea72cf61b7194521ec9fe 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/insert.l,v 1.1 1996/11/14 10:17:19 scrappy Exp $
-.TH INSERT SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/insert.l,v 1.1.2.1 1996/12/11 00:31:38 momjian Exp $
+.TH INSERT SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 insert \(em insert tuples to a relation
 .SH SYNOPSIS
index 40ea62354b20c008498657bbfb670618f8f78190..99b5b0537b7ead1da708b8aeda73875f7d33dd19 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/ipcclean.1,v 1.1 1996/11/14 10:17:22 scrappy Exp $
-.TH IPCCLEAN UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/ipcclean.1,v 1.1.2.1 1996/12/11 00:31:39 momjian Exp $
+.TH IPCCLEAN UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 ipcclean \(em clean up shared memory and semaphores from aborted backends
 .SH SYNOPSIS
index b39c3526538bdff5259dbaec8bed2bb904da3c80..b6bcf08a7b0d287ea3fe194dadad16e24c28b87b 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.2 1996/11/15 17:55:29 momjian Exp $
-.TH "LARGE OBJECTS" INTRO 03/18/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.2.2.1 1996/12/11 00:31:40 momjian Exp $
+.TH "LARGE OBJECTS" INTRO 03/18/94 PostgreSQL PostgreSQL
 .SH DESCRIPTION
 .PP
 In Postgres, data values are stored in tuples and individual tuples
@@ -259,7 +259,7 @@ library.
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.2 1996/11/15 17:55:29 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/man/Attic/large_objects.3,v 1.2.2.1 1996/12/11 00:31:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
index f7e28712b6ed9daab651bba4ad2a0104ef0c6a6f..fa51aa23e76d15648ce1e5893e9f4fd0cddd6ea9 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.3 1996/11/27 13:49:44 momjian Exp $
-.TH LIBPQ INTRO 03/12/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.3.2.1 1996/12/11 00:31:42 momjian Exp $
+.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
 .SH DESCRIPTION
 Libpq is the programmer's interface to Postgres.  Libpq is a set of
 library routines that allows queries to pass to the Postgres backend and
index cd065ff16e26877c579dedbd8a8a0f41189393c7..5b9673c5310d84082917299cc159297fd9e52e57 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/listen.l,v 1.1 1996/11/14 10:17:28 scrappy Exp $
-.TH "LISTEN" SQL 03/12/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/listen.l,v 1.1.2.1 1996/12/11 00:31:43 momjian Exp $
+.TH "LISTEN" SQL 03/12/94 PostgreSQL PostgreSQL
 .SH NAME
 listen \(em listen for notification on a relation
 .SH SYNOPSIS
index f813cee08d95068f80e3e190c6d865d4ca43ef7c..954564d343c36763bd82225bad9dbbe429bbbd69 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/load.l,v 1.1 1996/11/14 10:17:30 scrappy Exp $
-.TH LOAD SQL 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/load.l,v 1.1.2.1 1996/12/11 00:31:45 momjian Exp $
+.TH LOAD SQL 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 load \(em dynamically load an object file
 .SH SYNOPSIS
index d762113438db5383539ea735460c76f8f0028018..6ad2e9ad0eba3278347de98ff54f35aa9d8f318d 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/monitor.1,v 1.1 1996/11/14 10:17:32 scrappy Exp $
-.TH MONITOR UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/monitor.1,v 1.1.2.1 1996/12/11 00:31:46 momjian Exp $
+.TH MONITOR UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 monitor \(em run the interactive terminal monitor
 .SH SYNOPSIS
index 24470d594fb6d530a0a5d096961796deb2759e39..ff6f5c20d94ab63ab51b86a979c80f7ce5ea7305 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/notify.l,v 1.1 1996/11/14 10:17:38 scrappy Exp $
-.TH "NOTIFY" SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/notify.l,v 1.1.2.1 1996/12/11 00:31:47 momjian Exp $
+.TH "NOTIFY" SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 notify \(em signal all frontends and backends listening on a class
 .SH SYNOPSIS
index 5e39a55d72298c7fbcb9d2db5ed999506f571113..54721eb0a6d9f01e6e24b26b2580167b83577864 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/page.5,v 1.1 1996/11/14 10:17:40 scrappy Exp $
-.TH PAGE FILES 01/23/93 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/page.5,v 1.1.2.1 1996/12/11 00:31:50 momjian Exp $
+.TH PAGE FILES 01/23/93 PostgreSQL PostgreSQL
 .SH NAME
 page structure \(em Postgres database file default page format
 .SH DESCRIPTION
@@ -18,7 +18,7 @@ Diagram 1 shows how pages in both normal Postgres classes and Postgres index
 classes (e.g., a B-tree index) are structured.
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/page.5,v 1.1 1996/11/14 10:17:40 scrappy Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/page.5,v 1.1.2.1 1996/12/11 00:31:50 momjian Exp $
 .in +0.5i
 .(b M
 .PS
index cb90b23423719db5f71ba0c7a9e53a61080663ec..dff56a20c66672243a232328e067d3f22f29eab7 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.2 1996/11/17 04:56:16 momjian Exp $
-.TH PG_DUMP UNIX 1/20/96 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_dump.1,v 1.2.2.1 1996/12/11 00:31:51 momjian Exp $
+.TH PG_DUMP UNIX 1/20/96 PostgreSQL PostgreSQL
 .SH NAME
 pg_dump \(em dumps out a Postgres database into a script file
 .SH SYNOPSIS
index 6f1a935dd8814ca68da27f9fd759fdb8597cf336..17447a8c42c9f6f3a0bcd02c34063420023ae982 100644 (file)
@@ -1,6 +1,6 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/postgres.1,v 1.2 1996/12/07 04:39:38 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/postgres.1,v 1.2.2.1 1996/12/11 00:31:52 momjian Exp $
 .TH POSTGRES95 UNIX 11/05/95 Postgres95 Postgres95
 .SH NAME
 postgres \(em the Postgres backend server
@@ -10,11 +10,15 @@ postgres \(em the Postgres backend server
 .BR "-B"
 n_buffers]
 [\c
+.BR "-D"
+data_directory]
+[\c
 .BR "-E"
 ]
 [\c
 .BR "-F"
 ]
+.br
 [\c
 .BR "-P"
 filedes]
@@ -22,7 +26,6 @@ filedes]
 .BR "-Q"
 ]
 .br
-.in +5n
 [\c
 .BR "-d"
 debug_level]
@@ -53,6 +56,18 @@ The
 .IR postgres
 server understands the following command-line options:
 .TP 5n
+.BR "-D" " data_directory"
+This option specifies the pathname of the directory that contains the
+database system data (the tables, the catalogs, etc.).  If you don't 
+specify this option, Postgres uses the value of the PGDATA environment
+variable.  You must either specify a -D option or set PGDATA.
+The data directory pathname for a database system is normally determined when
+the database system is created with
+.IR initdb ,
+with a --pgdata option to
+.IR initdb .
+.TP
 .BR "-B" " n_buffers"
 If the backend is running under the 
 .IR postmaster ,
@@ -67,7 +82,7 @@ allocate.  This value defaults to 64.
 Echo all queries.
 .TP
 .BR "-F"
-Disbable automatic fsync() call after each transaction.
+Disable automatic fsync() call after each transaction.
 This option improves performance, but an operating system crash
 while a transaction is in progress will probably cause data loss.
 .TP
index dd96248dee28b23fa8100f3c76ff8e467d6f1aa2..1321a56807b9d29a444bf4b1fbae0053cad3ab6d 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/postmaster.1,v 1.1 1996/11/14 10:17:48 scrappy Exp $
-.TH POSTMASTER UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/postmaster.1,v 1.1.2.1 1996/12/11 00:31:53 momjian Exp $
+.TH POSTMASTER UNIX 11/05/95 PostgreSQL PostgreSQL
 .SH "NAME"
 postmaster \(em run the Postgres postmaster
 .SH "SYNOPSIS"
index 4d729234df532ee663e01715ec0282c5d43d063d..c3dad7f82a74f9026144cce657e9a47030355787 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.3 1996/11/17 04:27:34 momjian Exp $
-.TH PSQL UNIX 1/20/96 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.3.2.1 1996/12/11 00:31:54 momjian Exp $
+.TH PSQL UNIX 1/20/96 PostgreSQL PostgreSQL
 .SH NAME
 psql \(em run the interactive query front-end
 .SH SYNOPSIS
@@ -107,7 +107,7 @@ to use in connecting to the
 process.  The default is site-specific.
 .TP
 .BR "-A"
-Turn off fill justification when printing out attributes.
+Turn off fill justification when printing out table elements.
 .TP
 .BR "-c" " query"
 Specifies that
@@ -177,16 +177,16 @@ Run ins single-line mode where each query is terminated by a newline,
 instead of a semicolon.
 .TP
 .BR "-t"
-Turn off printing of attributes names.
+Turn off printing of column names.
 This is useful with the
 .BR -c
 option in shell scripts.
 .TP
 .BR "-x"
-Turns on extended field mode. When enabled each tuple will have its field
-names printed on the left with the field values printed on the right.
-This is useful for tuples which are otherwise too long to fit into
-one screen line. HTML tuple output supports this mode also.
+Turns on extended row format mode. When enabled each row will have its column
+names printed on the left with the column values printed on the right.
+This is useful for rows which are otherwise too long to fit into
+one screen line. HTML row output supports this mode also.
 .PP
 You may set environment variables to avoid typing some of the above
 options.  See the
@@ -231,12 +231,29 @@ and
 .IR notify (l).
 .PP
 .SH "PSQL COMMANDS"
+Anything you enter in psql that begins with an unquoted backslash is a psql
+command.  Anything else is SQL and simply goes into the current query buffer
+(and once you have at least one complete query, it gets automatically 
+submitted to the backend).  Psql commands are also called slash commands.
+.PP
+The format of a psql command is the backslash, followed immediately by
+a command verb, then any arguments.  The arguments are separated from the
+command verb and each other by any number of white space characters.
+.PP
+With single character command verbs, you don't actually need to separate the
+command verb from the argument with white space, for historical reasons.
+You should anyway.
 .IP "\ea"
-Toggle field alignment when printing out attributes.
+Toggle field alignment when printing out table elements.
 .IP "\eC \fIcaption\fR"
 Set the HTML3.0 table caption.
-.IP "\ec \fIdbname\fR"
+.IP "\econnect \fIdbname\fR"
 Establish a connection to a new database. The previous connection is closed.
+.IP "\ecopy \fItable\fR {FROM | TO} \fIfilename\fR"
+Perform a frontend copy.  This is an operation that runs a SQL COPY command,
+but instead of the backend reading or writing a specified file, and 
+consequently requiring special user privilege, psql reads or writes the 
+file and routes the data to or from the backend.
 .IP "\ed [\fItable\fR]"
 List tables in the database, or if
 .IR table
@@ -295,14 +312,14 @@ Reset(clear) the query buffer.
 Print or save the command line history to \fIfilename\fR.  (Only available if psql is
 configured to use readline)
 .IP "\et"
-Toggle display of output attribute name headings and row count (defaults to on).
+Toggle display of output column name headings and row count (defaults to on).
 .IP "\eT"
 Set html3.0 <table ...> options.
 .IP "\ex"
-Toggles extended field mode. When enabled each tuple will have its field
-names printed on the left with the field values printed on the right.
-This is useful for tuples which are otherwise too long to fit into
-one screen line. HTML tuple output mode supports this flag too.
+Toggles extended row format mode. When enabled each row will have its column
+names printed on the left with the column values printed on the right.
+This is useful for rows which are otherwise too long to fit into
+one screen line. HTML row output mode supports this flag too.
 .IP "\e! [\fIcommand\fR]"
 Escape to shell or execute
 .IR command.
@@ -350,3 +367,4 @@ introduction(libpq),
 monitor(1)
 postgres(1),
 postmaster(1).
+
index 9e1f68a99f95a861b25c85f618b8e90c9b4ca42d..29d8dc6246c5d074b6bec732b5bbcb2ae044a98a 100644 (file)
@@ -1,6 +1,6 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.TH PURGE SQL 11/05/95 Postgres95 Postgres95
+.TH PURGE SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 purge \(em discard historical data
 .SH SYNOPSIS
index db10554cea77a47938ae99cd8be77b008dcc229b..6b8751f5383b4698259992d70125b67b2eba6750 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/remove_view.l,v 1.1 1996/11/14 10:17:55 scrappy Exp $
-.TH "DROP VIEW" SQL 04/25/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/remove_view.l,v 1.1.2.1 1996/12/11 00:31:57 momjian Exp $
+.TH "DROP VIEW" SQL 04/25/94 PostgreSQL PostgreSQL
 .SH NAME
 drop view \(em removes a view from Postgres
 .SH SYNOPSIS
index 8539549bad4289c1408f6e2781793c3e53feba70..1ef799564b8d4b7c326b43b6397a206bb0737445 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/rename.l,v 1.1 1996/11/14 10:17:56 scrappy Exp $
-.TH RENAME SQL 02/08/94 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/rename.l,v 1.1.2.1 1996/12/11 00:31:58 momjian Exp $
+.TH RENAME SQL 02/08/94 PostgreSQL PostgreSQL
 .SH NAME
 rename \(em rename a class or an attribute in a class
 .SH SYNOPSIS
index 66ec2c83013dfb327e61a92517de1646d7e93b42..393a328091b3e6e01983e8e8b1c14175c4c61006 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/revoke.l,v 1.1 1996/11/14 10:17:58 scrappy Exp $
-.TH REVOKE SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/revoke.l,v 1.1.2.1 1996/12/11 00:32:00 momjian Exp $
+.TH REVOKE SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 revoke \(em revoke access privileges
 .SH SYNOPSIS
index f9b7ae366d70ddd527f6e881b80e403bf3701668..bcb29765be463b72994f21e21ac34dc6682b2a2f 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.1 1996/11/14 10:18:00 scrappy Exp $
-.TH ROLLBACK SQL 01/20/96 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/rollback.l,v 1.1.2.1 1996/12/11 00:32:01 momjian Exp $
+.TH ROLLBACK SQL 01/20/96 PostgreSQL PostgreSQL
 .\" XXX This .XA has to go after the .TH so that the index page number goes
 .\"    in the right place...
 .SH NAME
index 83974242dd874f9e570993e70d8fcf67bb5229e6..3b4a4329524923df2a39da67340432f6211490cd 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/select.l,v 1.1 1996/11/14 10:18:02 scrappy Exp $
-.TH SELECT SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/select.l,v 1.1.2.1 1996/12/11 00:32:03 momjian Exp $
+.TH SELECT SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 select \(em retrieve instances from a class
 .SH SYNOPSIS
index 98d21358407af4e5a2339c7a77e1392ce6bd846c..c7e764610b49778ea29d4dcc0f4549dac2039503 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.2 1996/11/27 13:49:46 momjian Exp $
-.TH INTRODUCTION SQL 11/5/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.2.2.1 1996/12/11 00:32:04 momjian Exp $
+.TH INTRODUCTION SQL 11/5/95 PostgreSQL PostgreSQL
 .SH "Section 4 \(em SQL Commands (COMMANDS)"
 .SH "General Information"
 .SH DESCRIPTION
index 2ecc565545b27be37a4fcd68c08b46b73fde7990..5fe36d56121007385465be80a868c4135c183f3b 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/unix.1,v 1.1 1996/11/14 10:18:07 scrappy Exp $
-.TH INTRODUCTION UNIX 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/unix.1,v 1.1.2.1 1996/12/11 00:32:05 momjian Exp $
+.TH INTRODUCTION UNIX 11/05/95 PostgreSQL PostgreSQL
 .SP INFORMATION UNIX 11/05/95
 .BH "SECTION 2 \(em Unix COMMANDS (Unix)"
 .SH "OVERVIEW"
index 4094b6c6b70cff0650d2ce5e52e75a996f87f4b2..2368da35153e7d07590c53e700b0e138ebad689d 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/update.l,v 1.1 1996/11/14 10:18:11 scrappy Exp $
-.TH UPDATE SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/update.l,v 1.1.2.1 1996/12/11 00:32:07 momjian Exp $
+.TH UPDATE SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 update \(em replace values of attributes in a class
 .SH SYNOPSIS
index 297124cd61cbfb3951531512f6760ecb8e92c354..42b9dceef52db1ff89875aeb4fa9a55ef1f6c379 100644 (file)
@@ -1,7 +1,7 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/vacuum.l,v 1.1 1996/11/14 10:18:14 scrappy Exp $
-.TH VACUUM SQL 11/05/95 Postgres95 Postgres95
+.\" $Header: /cvsroot/pgsql/src/man/Attic/vacuum.l,v 1.1.2.1 1996/12/11 00:32:08 momjian Exp $
+.TH VACUUM SQL 11/05/95 PostgreSQL PostgreSQL
 .SH NAME
 vacuum \(em vacuum a database
 .SH SYNOPSIS