Welcome to the
PostgreSQL Tutorial. The
tutorial is intended to give an introduction
to
PostgreSQL, relational database
- concepts, and the SQL language. We assume some general knowledge about
+ concepts, and the SQL language. We assume some general knowledge about
how to use computers and no particular Unix or programming experience is
- required. This tutorial is intended to provide hands-on experience with
- important aspects of the
PostgreSQL system.
+ required. This tutorial is intended to provide hands-on experience with
+ important aspects of the
PostgreSQL system.
It makes no attempt to be a comprehensive treatment of the topics it covers.
This part describes the use of the
SQL language
in
PostgreSQL. We start with
describing the general syntax of
SQL, then
- how to create tables, how to populate the database, and how to
- query it. The middle part lists the available data types and
+ how to create tables, how to populate the database, and how to
+ query it. The middle part lists the available data types and
functions for use in
SQL commands. Lastly,
we address several aspects of importance for tuning a database.
follow it from start to end and gain a full understanding of the topics
without having to refer forward too many times. The chapters are
intended to be self-contained, so that advanced users can read the
- chapters individually as they choose. The information is presented
- in narrative form with topical units. Readers looking for a complete
- description of a particular command are encouraged to review
+ chapters individually as they choose. The information is presented
+ in narrative form with topical units. Readers looking for a complete
+ description of a particular command are encouraged to review
the .
Readers should know how to connect to a
-
PostgreSQL database and issue
+
PostgreSQL database and issue
SQL commands. Readers that are unfamiliar with
these issues are encouraged to read
first.
SQL commands are typically entered
This part covers topics that are of interest to a
PostgreSQL administrator. This includes
- installation, configuration of the server, management of users
- and databases, and maintenance tasks. Anyone running
+ installation, configuration of the server, management of users
+ and databases, and maintenance tasks. Anyone running
PostgreSQL server, even for
personal use, but especially in production, should be familiar
with these topics.
- The information attempts to be in the order in which
- a new user should read it. The chapters are self-contained and
- can be read individually as desired. The information is presented
- in a narrative form in topical units. Readers looking for a complete
- description of a command are encouraged to review the
+ The information attempts to be in the order in which
+ a new user should read it. The chapters are self-contained and
+ can be read individually as desired. The information is presented
+ in a narrative form in topical units. Readers looking for a complete
+ description of a command are encouraged to review the
.
The first few chapters are written so they can be understood
without prerequisite knowledge, so new users who need to set
- up their own server can begin their exploration. The rest of this
+ up their own server can begin their exploration. The rest of this
part is about tuning and management; that material
assumes that the reader is familiar with the general use of
the
PostgreSQL database system. Readers are
This part describes the client programming interfaces distributed
with
PostgreSQL. Each of these chapters can be
read independently. There are many external programming
- interfaces for client programs that are distributed separately. They
+ interfaces for client programs that are distributed separately. They
contain their own documentation (
lists some of the more popular ones). Readers of this part should be
familiar with using
SQL to manipulate