<!--
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.9 1998/09/30 05:41:49 thomas Exp $

Postgres integrated documentation.
Other subset docs should be copied and shrunk from here.
thomas 1998-02-23

$Log: postgres.sgml,v $
Revision 1.9  1998/09/30 05:41:49  thomas
Clean up pages. Add information for operator precedence.
Split introduction sections into separate files to allow the legal notice
 and notation sections appear in all documents without having the history
 show up everplace too.
Add full list of reserved and non-reserved key words in syntax.sgml.
Add a separate chapter to the admin guide on security.

Revision 1.8  1998/08/17 16:20:33  thomas
Move SQL reference pages up into the User's Guide.

Revision 1.7  1998/08/15 06:52:53  thomas
Include new chapters.

-->

<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [

<!entity about    SYSTEM "about.sgml">
<!entity history  SYSTEM "history.sgml">
<!entity info     SYSTEM "info.sgml">
<!entity legal    SYSTEM "legal.sgml">
<!entity notation SYSTEM "notation.sgml">

<!-- tutorial -->
<!entity intro    SYSTEM "intro.sgml">
<!entity arch     SYSTEM "arch.sgml">
<!entity start    SYSTEM "start.sgml">
<!entity query    SYSTEM "query.sgml">

<!-- user's guide -->
<!entity advanced SYSTEM "advanced.sgml">
<!entity environ  SYSTEM "environ.sgml">
<!entity manage   SYSTEM "manage.sgml">
<!entity datatype SYSTEM "datatype.sgml">
<!entity oper     SYSTEM "oper.sgml">
<!entity func     SYSTEM "func.sgml">
<!entity typeconv SYSTEM "typeconv.sgml">
<!entity keys     SYSTEM "keys.sgml">
<!entity array    SYSTEM "array.sgml">
<!entity inherit  SYSTEM "inherit.sgml">
<!entity query-ug SYSTEM "query-ug.sgml">
<!entity storage  SYSTEM "storage.sgml">
<!entity psql     SYSTEM "psql.sgml">
<!entity pgaccess SYSTEM "pgaccess.sgml">

<!-- reference pages -->
<!entity % allfiles SYSTEM "allfiles.sgml">
%allfiles;

<!-- administrator's guide -->
<!entity intro-ag SYSTEM "intro-ag.sgml">
<!entity start-ag SYSTEM "start-ag.sgml">
<!entity install  SYSTEM "install.sgml">
<!entity runtime  SYSTEM "runtime.sgml">
<!entity recovery SYSTEM "recovery.sgml">
<!entity regress  SYSTEM "regress.sgml">
<!entity ports    SYSTEM "ports.sgml">
<!entity release  SYSTEM "release.sgml">

<!-- programmer's guide -->
<!entity intro-pg SYSTEM "intro-pg.sgml">
<!entity arch-pg  SYSTEM "arch-pg.sgml">
<!entity extend   SYSTEM "extend.sgml">
<!entity rules    SYSTEM "rules.sgml">
<!entity xfunc    SYSTEM "xfunc.sgml">
<!entity xtypes   SYSTEM "xtypes.sgml">
<!entity xoper    SYSTEM "xoper.sgml">
<!entity xaggr    SYSTEM "xaggr.sgml">
<!entity xindex   SYSTEM "xindex.sgml">
<!entity gist     SYSTEM "gist.sgml">
<!entity dfunc    SYSTEM "dfunc.sgml">
<!entity lobj     SYSTEM "lobj.sgml">
<!entity trigger  SYSTEM "trigger.sgml">
<!entity spi      SYSTEM "spi.sgml">
<!entity func-ref SYSTEM "func-ref.sgml">
<!entity libpq    SYSTEM "libpq.sgml">
<!entity libpgtcl SYSTEM "libpgtcl.sgml">
<!entity ecpg     SYSTEM "ecpg.sgml">
<!entity odbc     SYSTEM "odbc.sgml">
<!entity jdbc     SYSTEM "jdbc.sgml">

<!-- developer's guide -->
<!entity arch-dev SYSTEM "arch-dev.sgml">
<!entity geqo     SYSTEM "geqo.sgml">
<!entity protocol SYSTEM "protocol.sgml">
<!entity compiler SYSTEM "compiler.sgml">
<!entity page     SYSTEM "page.sgml">
<!entity bki      SYSTEM "bki.sgml">
<!entity docguide SYSTEM "docguide.sgml">
<!entity biblio   SYSTEM "biblio.sgml">
<!entity contacts SYSTEM "contacts.sgml">
]>
<!-- entity manpages SYSTEM "man/manpages.sgml" subdoc -->
<Book Id="postgres">

<!-- Title information -->

<Title>PostgreSQL</Title>
<BookInfo>
    <ReleaseInfo>Covering v6.4 for general release</ReleaseInfo>
    <BookBiblio>
    <AuthorGroup>
      <CorpAuthor>The PostgreSQL Development Team</CorpAuthor>
    </AuthorGroup>
<!-- editor in authorgroup is not supported
    <AuthorGroup>
-->
      <Editor>
        <FirstName>Thomas</FirstName>
        <SurName>Lockhart</SurName>
        <Affiliation>
          <OrgName>Caltech/JPL</OrgName>
        </Affiliation>
      </Editor>
<!--
    </AuthorGroup>
-->
 
<!--
    <AuthorInitials>TGL</AuthorInitials>
-->

    <Date>(last updated 1998-02-23)</Date>
    </BookBiblio>

<LegalNotice>
<Para>
<ProductName>PostgreSQL</ProductName> is copyright (C) 1998 by the Postgres Global Development Group.
</Para>
</LegalNotice>

</BookInfo>

<!--
<TOC> </TOC>
<LOT> </LOT>
-->

<!--
<Dedication>
<Para>
Your name here...
</Para>
</Dedication>
-->

<preface id="preface">
<Title>Summary</Title>

<Para>
<ProductName>Postgres</ProductName>, 
 developed originally in the UC Berkeley Computer Science Department,
 pioneered many of the object-relational concepts
 now becoming available in some commercial databases.
It provides SQL92/SQL3 language support,
 transaction integrity, and type extensibility.
 <ProductName>PostgreSQL</ProductName> is a public-domain, open source descendant
 of this original Berkeley code.
</Para>
</Preface>

<part Id="part-tutorial">
<Title>Tutorial</Title>
<PartIntro>
<Para>
Introduction for new users.
</Para>
</PartIntro>
&intro;
&arch;
&start;
&query;
&advanced;
</Part>

<part Id="part-user">
<Title>User's Guide</Title>
<PartIntro>
<Para>
Information for users.
</Para>
</PartIntro>
&environ;
&manage;
&datatype;
&oper;
&func;
&typeconv;
&keys;
&array;
&inherit;
&query-ug;
&storage;
&psql;
&pgaccess;
&commands;
</Part>

<part Id="part-admin">
<Title>Administrator's Guide</Title>
<PartIntro>
<Para>
Installation and maintenance information.
</Para>
</PartIntro>
&intro-ag;
&ports;
&install;
&start-ag;
&recovery;
&regress;
&release;
</Part>

<part Id="part-programmer">
<Title>Programmer's Guide</Title>
<PartIntro>
<Para>
Information for extending <ProductName>Postgres</ProductName>.
</Para>
</PartIntro>
&intro-pg;
&arch-pg;
&extend;
&xfunc;
&xtypes;
&xoper;
&xaggr;
&rules;
&xindex;
&gist;
&dfunc;
&trigger;
&spi;
<!-- &libpq; -->
</Part>

<part Id="part-interfaces">
<Title>Interfaces</Title>
<PartIntro>
<Para>
User and programmer interfaces.
</Para>
</PartIntro>
&func-ref;
&lobj;
&ecpg;
&libpq;
&libpgtcl;
&odbc;
&jdbc;
</Part>

<part Id="part-developer">
<Title>Developer's Guide</Title>
<PartIntro>
<Para>
The Developer's Guide includes discussion of design decisions and suggestions for
future development.
</Para>
</PartIntro>
&arch-dev;
&geqo;
&protocol;
&compiler;
&bki;
&page;
</Part>

<part Id="part-appendix">
<Title>Appendices</Title>
<PartIntro>
<Para>
Additional related information.
</Para>
</PartIntro>
&docguide;
&contacts;
&biblio;
</Part>

<index Id="part-index">
</index>

</Book>
