Home
About
Download
Documentation
Community
Developers
Support
Donate
Your account
February 20, 2025:
PostgreSQL 17.4, 16.8, 15.12, 14.17, and 13.20 Released!
Documentation
→
PostgreSQL 7.3
Supported Versions:
Current
(
17
) /
16
/
15
/
14
/
13
Development Versions:
devel
Unsupported versions:
12
/
11
/
10
/
9.6
/
9.5
/
9.4
/
9.3
/
9.2
/
9.1
/
9.0
/
8.4
/
8.3
/
8.2
/
8.1
/
8.0
/
7.4
/
7.3
/
7.2
/
7.1
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
PostgreSQL 7.3.21 Reference Manual
The PostgreSQL Global Development Group
Copyright
© 1996-2002 The PostgreSQL Global Development Group
Table of Contents
Preface
I.
SQL Commands
ABORT
-- abort the current transaction
ALTER DATABASE
-- change a database
ALTER GROUP
-- add users to a group or remove users from a group
ALTER TABLE
-- change the definition of a table
ALTER TRIGGER
-- change the definition of a trigger
ALTER USER
-- change a database user account
ANALYZE
-- collect statistics about a database
BEGIN
-- start a transaction block
CHECKPOINT
-- force a transaction log checkpoint
CLOSE
-- close a cursor
CLUSTER
-- cluster a table according to an index
COMMENT
-- define or change the comment of an object
COMMIT
-- commit the current transaction
COPY
-- copy data between files and tables
CREATE AGGREGATE
-- define a new aggregate function
CREATE CAST
-- define a user-defined cast
CREATE CONSTRAINT TRIGGER
-- define a new constraint trigger
CREATE CONVERSION
-- define a user-defined encoding conversion
CREATE DATABASE
-- create a new database
CREATE DOMAIN
-- define a new domain
CREATE FUNCTION
-- define a new function
CREATE GROUP
-- define a new user group
CREATE INDEX
-- define a new index
CREATE LANGUAGE
-- define a new procedural language
CREATE OPERATOR
-- define a new operator
CREATE OPERATOR CLASS
-- define a new operator class for indexes
CREATE RULE
-- define a new rewrite rule
CREATE SCHEMA
-- define a new schema
CREATE SEQUENCE
-- define a new sequence generator
CREATE TABLE
-- define a new table
CREATE TABLE AS
-- create a new table from the results of a query
CREATE TRIGGER
-- define a new trigger
CREATE TYPE
-- define a new data type
CREATE USER
-- define a new database user account
CREATE VIEW
-- define a new view
DEALLOCATE
-- remove a prepared query
DECLARE
-- define a cursor
DELETE
-- delete rows of a table
DROP AGGREGATE
-- remove a user-defined aggregate function
DROP CAST
-- remove a user-defined cast
DROP CONVERSION
-- remove a user-defined conversion
DROP DATABASE
-- remove a database
DROP DOMAIN
-- remove a user-defined domain
DROP FUNCTION
-- remove a user-defined function
DROP GROUP
-- remove a user group
DROP INDEX
-- remove an index
DROP LANGUAGE
-- remove a user-defined procedural language
DROP OPERATOR
-- remove a user-defined operator
DROP OPERATOR CLASS
-- remove a user-defined operator class
DROP RULE
-- remove a rewrite rule
DROP SCHEMA
-- remove a schema
DROP SEQUENCE
-- remove a sequence
DROP TABLE
-- remove a table
DROP TRIGGER
-- remove a trigger