This manual is volume 1 of the official reference documentation for PostgreSQL 8.2.4. The PostgreSQL commands and their syntax are described in this volume. The book begins with a specification of the SQL language, as implemented by PostgreSQL, covering syntax, data types, functions and operators. This is followed by detailed documentation for every PostgreSQL command (over 100 of them) from ABORT to VALUES, with a precise usage synopsis, description, annotated parameter list and examples. Important commands such as SELECT and GRANT receive extended coverage. Additional sections document the use of indexes, transactions and the PostgreSQL client and server command-line tools. This volume is part of a series including volume 2, the "Programming Guide" (ISBN 0954612035), and volume 3, the "Server Administration Guide" (ISBN 0954612043). For each copy of this manual sold $1 will be donated to the PostgreSQL project by the publisher.