ABORT
- Aborts the current transaction
+ abort the current transaction
ALTER GROUP
- Add users to a group; remove users from a group
+ add users to a group or remove users from a group
ALTER TABLE
- Modifies table properties
+ change the definition of a table
ALTER USER
- Modifies user account information
+ change a database user account
ANALYZE
-
Collect statistics about a Postgres database
+ collect statistics about a database
BEGIN
- Begins a transaction in chained mode
+ start a transaction block
-
+
CHECKPOINT
- Force transaction log checkpoint
+ force a transaction log checkpoint
CLOSE
- Close a cursor
+ close a cursor
CLUSTER
- Gives storage clustering advice to the server
+ cluster a table according to an index
COMMENT
- Add comment to an object
+ define or change the comment of an object
COMMIT
- Commits the current transaction
+ commit the current transaction
COPY
- Copies data between files and tables
+ copy data between files and tables
CREATE AGGREGATE
- Defines a new aggregate function
+ define a new aggregate function
CREATE CONSTRAINT TRIGGER
- Create a trigger to support a constraint
+ define a new constraint trigger
CREATE DATABASE
- Creates a new database
+ create a new database
CREATE FUNCTION
- Defines a new function
+ define a new function
CREATE GROUP
- Creates a new group
+ define a new user group
CREATE INDEX
- Constructs a secondary index
+ define a new index
CREATE LANGUAGE
- Defines a new language for functions
+ define a new procedural language
CREATE OPERATOR
- Defines a new user operator
+ define a new operator
CREATE RULE
- Defines a new rule
+ define a new rewrite rule
CREATE SEQUENCE
- Creates a new sequence number generator
+ define a new sequence
CREATE TABLE
- Creates a new table
+ define a new table
CREATE TABLE AS
- Creates a new table from the results of a SELECT
+ create a new table from the results of a query
CREATE TRIGGER
- Creates a new trigger
+ define a new trigger
CREATE TYPE
- Defines a new base data type
+ define a new data type
CREATE USER
- Creates a new database user
+ define a new database user account
CREATE VIEW
- Constructs a virtual table
+ define a new view
createdb
-
Create a new Postgres database
+
create a new PostgreSQL database
createlang
-
Add a new programming language to a Postgres database
+
define a new PostgreSQL procedural language
createuser
-
Create a new Postgres user
+
define a new PostgreSQL user account
DECLARE
- Defines a cursor for table access
+ define a cursor
DELETE
- Removes rows from a table
+ delete rows of a table
DROP AGGREGATE
- Removes the definition of an aggregate function
+ remove a user-defined aggregate function
DROP DATABASE
- Removes an existing database
+ remove a database
DROP FUNCTION
- Removes a user-defined C function
+ remove a user-defined function
DROP GROUP
- Removes a group
+ remove a user group
DROP INDEX
- Removes an index from the database
+ remove an index
DROP LANGUAGE
- Removes a user-defined procedural language
+ remove a user-defined procedural language
DROP OPERATOR
- Removes an operator from the database
+ remove a user-defined operator
DROP RULE
- Removes rules from the database
+ remove a rewrite rule
DROP SEQUENCE
- Removes sequences from a database
+ remove a sequence
DROP TABLE
- Removes tables from a database
+ remove a table
DROP TRIGGER
- Removes the definition of a trigger
+ remove a trigger
DROP TYPE
- Removes user-defined types from the system catalogs
+ remove a user-defined data type
DROP USER
- Removes a user
+ remove a database user account
DROP VIEW
- Removes views from the database
+ remove a view
dropdb
-
Removes a Postgres database
+
remove a PostgreSQL database
droplang
-
Removes a programming language from a Postgres database
+
remove a PostgreSQL procedural language
dropuser
-
Removes a Postgres user
+
remove a PostgreSQL user account
- Embedded SQL C preprocessor
+ embedded SQL C preprocessor
END
- Commits the current transaction
+ commit the current transaction
EXPLAIN
- Shows statement execution plan
+ show the execution plan of a statement
FETCH
- Gets rows using a cursor
+ retrieve rows from a table using a cursor
GRANT
- Grants access privileges to a user, a group, or all users
+ define access privileges
initdb
-
Create a new Postgres database cluster
+
create a new PostgreSQL database cluster
initlocation
-
Create a secondary Postgres database storage area
+
create a secondary PostgreSQL database storage area
INSERT
- Inserts new rows into a table
+ create new rows in a table
ipcclean
- Clean up shared memory and semaphores from aborted backends
+
remove shared memory and semaphores from an aborted PostgreSQL server
LISTEN
- Listen for a response on a notify condition
+ listen for a notification
LOAD
- Loads a shared object file
+ load or reload a shared object file
LOCK
- Explicitly lock a table / tables inside a transaction
+ explicitly lock a table
MOVE
- Moves cursor position
+ position a cursor on a specified row of a table
NOTIFY
- Signals all frontends and backends listening on a notify condition
+ generate a notification
-
+
pg_config
-
Provides information about the installed version of PostgreSQL>
+
retrieve information about the installed version of PostgreSQL>
pg_ctl
- Starts, stops, or restarts postmaster
+
start, stop, or restart a PostgreSQL server
pg_dump
-
Extract a Postgres database into a script file or other archive file
+
extract a PostgreSQL database into a script file or other archive file
pg_dumpall
- Extract all databases into a script file
+
extract all PostgreSQL databases into a script file
pg_passwd
- Manipulate a secondary password file
+ change a secondary password file
-
+
pg_restore
- Restore a
Postgres database from an archive file created by
-pg_dump
+ restore a
PostgreSQL database from an archive file created by pg_dump
pgaccess
-
PostgreSQL graphical client
+
a graphical PostgreSQL client application
postgres
-
Run a PostgreSQL single-user backend
+
run a PostgreSQL server in single-user mode
postmaster
-
PostgreSQL multi-user database server
+
PostgreSQL multiuser database server
-
PostgreSQL multi
-user database server.
+
PostgreSQL multiuser database server.
In order for a client application to access a database it connects
(over a network or locally) to a running
-
Postgres interactive terminal
+
PostgreSQL interactive terminal
REINDEX
- Recover corrupted system indexes under stand-alone Postgres
+ recover a corrupted system index
RESET
- Restores run-time parameters to default values
+ restore the value of a run-time parameter to a default value
REVOKE
- Revokes access privilege from a user, a group, or all users.
+ remove access privileges
ROLLBACK
- Aborts the current transaction
+ abort the current transaction
SELECT
- Retrieves rows from a table or view
+ retrieve rows from a table or view
SELECT INTO
- Creates a new table from the results of a SELECT
+ create a new table from the results of a query
SET
- Set run-time parameters
+ change a run-time parameter
-
+
SET CONSTRAINTS
SET CONSTRAINTS
- Set the constraint mode of the current SQL-transaction
+ set the constraint mode of the current transaction
-
+
2001-04-21
SET SESSION AUTHORIZATION
- Set the session user identifier and the current user identifier
- of the current SQL-session context
+ set the session user identifier and the current user identifier
+ of the current session
-
+
2000-11-24
SET TRANSACTION
- Set the characteristics of the current SQL-transaction
+ set the characteristics of the current transaction
SHOW
- Shows run-time parameters
+ show the value of a run-time parameter
TRUNCATE
- Empty a table
+ empty a table
UNLISTEN
- Stop listening for notification
+ stop listening for a notification
UPDATE
- Replaces values of columns in a table
+ update rows of a table
VACUUM
-
Clean and optionally analyze a Postgres database
+ garbage-collect and optionally analyze a database
vacuumdb
-
Clean and analyze a Postgres database
+
garbage-collect and analyze a PostgreSQL database
&legal;
+
Preface
+
+ The entries in this Reference Manual are
+ meant to provide in reasonable length an authorative, complete, and
+ formal summary about the respective subjects. More information
+ about the use of
PostgreSQL, in
+ narrative, tutorial, or example form, may be found in other parts
+ of the
PostgreSQL documentation set.
+ See the cross-references listed on each reference page.
+
+
+ The Reference Manual entries are also
+ available as traditional man
pages.
+
+
+
SQL Commands
- This is reference information for the
SQL
- commands supported by
Postgres.
+ This part contains reference information for the
+
SQL commands supported by
+ language in general is meant; information about the standards
+ conformance and compatibility of each command can be found on the
+ respective reference page.
- This is reference information for
-
Postgres client applications and
- utilities.
+ This part contains reference information for
+
PostgreSQL client applications and
+ utilities. Not all of these commands are of general utility, some
+ may require special privileges. The common feature of these
+ applications is that they can be run on any host, independent of
+ where the database server resides.
&createdb;
+ &createlang;
&createuser;
&dropdb;
+ &droplang;
&dropuser;
&ecpgRef;
&pgAccess;
- This is reference information for
- server applications and support utilities.
+ This part contains reference information for
+
PostgreSQL server applications and
+ support utilities. These commands can only be run usefully on the
+ host where the database server resides. Other utility programs
+ are listed in .
- &createlang;
- &droplang;
&initdb;
&initlocation;
&ipcclean;