2010-09-20 22:08:53 +02:00
|
|
|
<!-- doc/src/sgml/intro.sgml -->
|
2000-03-31 05:27:42 +02:00
|
|
|
|
2003-09-09 01:02:28 +02:00
|
|
|
<preface id="preface">
|
|
|
|
<title>Preface</title>
|
|
|
|
|
|
|
|
<para>
|
2003-09-11 23:42:20 +02:00
|
|
|
This book is the official documentation of
|
2009-04-27 18:27:36 +02:00
|
|
|
<productname>PostgreSQL</productname>. It has been written by the
|
2003-09-11 23:42:20 +02:00
|
|
|
<productname>PostgreSQL</productname> developers and other
|
|
|
|
volunteers in parallel to the development of the
|
|
|
|
<productname>PostgreSQL</productname> software. It describes all
|
|
|
|
the functionality that the current version of
|
|
|
|
<productname>PostgreSQL</productname> officially supports.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-11 23:42:20 +02:00
|
|
|
To make the large amount of information about
|
|
|
|
<productname>PostgreSQL</productname> manageable, this book has been
|
|
|
|
organized in several parts. Each part is targeted at a different
|
|
|
|
class of users, or at users in different stages of their
|
|
|
|
<productname>PostgreSQL</productname> experience:
|
2003-09-09 01:02:28 +02:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="tutorial"/> is an informal introduction for new users.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="sql"/> documents the <acronym>SQL</acronym> query
|
2003-09-09 01:02:28 +02:00
|
|
|
language environment, including data types and functions, as well
|
|
|
|
as user-level performance tuning. Every
|
2017-10-09 03:44:17 +02:00
|
|
|
<productname>PostgreSQL</productname> user should read this.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="admin"/> describes the installation and
|
2004-12-23 06:37:40 +01:00
|
|
|
administration of the server. Everyone who runs a
|
2003-09-11 23:42:20 +02:00
|
|
|
<productname>PostgreSQL</productname> server, be it for private
|
|
|
|
use or for others, should read this part.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="client-interfaces"/> describes the programming
|
2003-09-11 23:42:20 +02:00
|
|
|
interfaces for <productname>PostgreSQL</productname> client
|
|
|
|
programs.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="server-programming"/> contains information for
|
2003-09-09 01:02:28 +02:00
|
|
|
advanced users about the extensibility capabilities of the
|
2009-04-27 18:27:36 +02:00
|
|
|
server. Topics include user-defined data types and
|
2003-09-09 01:02:28 +02:00
|
|
|
functions.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="reference"/> contains reference information about
|
2004-12-23 06:37:40 +01:00
|
|
|
SQL commands, client and server programs. This part supports
|
2003-09-09 01:02:28 +02:00
|
|
|
the other parts with structured information sorted by command or
|
|
|
|
program.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2003-10-22 00:47:54 +02:00
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2017-11-23 15:39:47 +01:00
|
|
|
<xref linkend="internals"/> contains assorted information that might be of
|
2017-10-09 03:44:17 +02:00
|
|
|
use to <productname>PostgreSQL</productname> developers.
|
2003-10-22 00:47:54 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
2003-09-09 01:02:28 +02:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<sect1 id="intro-whatis">
|
|
|
|
<title> What is <productname>PostgreSQL</productname>?</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<productname>PostgreSQL</productname> is an object-relational
|
|
|
|
database management system (<acronym>ORDBMS</acronym>) based on
|
2010-03-17 18:12:31 +01:00
|
|
|
<ulink url="http://db.cs.berkeley.edu/postgres.html">
|
2005-04-09 05:52:43 +02:00
|
|
|
<productname>POSTGRES, Version 4.2</productname></ulink>,
|
|
|
|
developed at the University of California at Berkeley Computer Science
|
2003-09-09 01:02:28 +02:00
|
|
|
Department. POSTGRES pioneered many concepts that only became
|
|
|
|
available in some commercial database systems much later.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<productname>PostgreSQL</productname> is an open-source descendant
|
2005-11-04 03:56:31 +01:00
|
|
|
of this original Berkeley code. It supports a large part of the SQL
|
2004-11-27 22:27:08 +01:00
|
|
|
standard and offers many modern features:
|
2003-09-09 01:02:28 +02:00
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<simpara>complex queries</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>foreign keys</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>triggers</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-12-09 00:25:48 +01:00
|
|
|
<simpara>updatable views</simpara>
|
2003-09-09 01:02:28 +02:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>transactional integrity</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>multiversion concurrency control</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2003-09-11 23:42:20 +02:00
|
|
|
Also, <productname>PostgreSQL</productname> can be extended by the
|
|
|
|
user in many ways, for example by adding new
|
2003-09-09 01:02:28 +02:00
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<simpara>data types</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>functions</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>operators</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>aggregate functions</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>index methods</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>procedural languages</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2003-09-11 23:42:20 +02:00
|
|
|
And because of the liberal license,
|
|
|
|
<productname>PostgreSQL</productname> can be used, modified, and
|
2009-04-27 18:27:36 +02:00
|
|
|
distributed by anyone free of charge for any purpose, be it
|
2003-09-11 23:42:20 +02:00
|
|
|
private, commercial, or academic.
|
2003-09-09 01:02:28 +02:00
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
&history;
|
|
|
|
¬ation;
|
|
|
|
&info;
|
|
|
|
&problems;
|
|
|
|
|
|
|
|
</preface>
|