|
|
|
<!--
|
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/programmer.sgml,v 1.9 1998/10/30 19:37:11 thomas Exp $
|
|
|
|
|
|
|
|
Postgres programmer's guide.
|
|
|
|
Derived from postgres.sgml.
|
|
|
|
thomas 1998-10-27
|
|
|
|
|
|
|
|
$Log: programmer.sgml,v $
|
|
|
|
Revision 1.9 1998/10/30 19:37:11 thomas
|
|
|
|
Minor editing and markup changes as a result of preparing the Postscript
|
|
|
|
documentation for v6.4.
|
|
|
|
Bigger updates to the installation instructions (install and config).
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!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">
|
|
|
|
<!entity y2k SYSTEM "y2k.sgml">
|
|
|
|
|
|
|
|
<!entity arch SYSTEM "arch.sgml">
|
|
|
|
<!entity start SYSTEM "start.sgml">
|
|
|
|
<!entity query SYSTEM "query.sgml">
|
|
|
|
|
|
|
|
<!entity advanced SYSTEM "advanced.sgml">
|
|
|
|
<!entity environ SYSTEM "environ.sgml">
|
|
|
|
<!entity manage SYSTEM "manage.sgml">
|
|
|
|
<!entity datatype SYSTEM "datatype.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">
|
|
|
|
|
|
|
|
<!entity start-ag SYSTEM "start-ag.sgml">
|
|
|
|
<!entity install SYSTEM "install.sgml">
|
|
|
|
<!entity recovery SYSTEM "recovery.sgml">
|
|
|
|
<!entity regress SYSTEM "regress.sgml">
|
|
|
|
<!entity ports SYSTEM "ports.sgml">
|
|
|
|
<!entity release SYSTEM "release.sgml">
|
|
|
|
|
|
|
|
<!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 libpqpp SYSTEM "libpq++.sgml">
|
|
|
|
<!entity libpgtcl SYSTEM "libpgtcl.sgml">
|
|
|
|
<!entity ecpg SYSTEM "ecpg.sgml">
|
|
|
|
<!entity odbc SYSTEM "odbc.sgml">
|
|
|
|
<!entity jdbc SYSTEM "jdbc.sgml">
|
|
|
|
<!entity xplang SYSTEM "xplang.sgml">
|
|
|
|
|
|
|
|
<!entity arch-dev SYSTEM "arch-dev.sgml">
|
|
|
|
<!entity biblio SYSTEM "biblio.sgml">
|
|
|
|
<!entity bki SYSTEM "bki.sgml">
|
|
|
|
<!entity compiler SYSTEM "compiler.sgml">
|
|
|
|
<!entity contacts SYSTEM "contacts.sgml">
|
|
|
|
<!entity docguide SYSTEM "docguide.sgml">
|
|
|
|
<!entity geqo SYSTEM "geqo.sgml">
|
|
|
|
<!entity page SYSTEM "page.sgml">
|
|
|
|
<!entity protocol SYSTEM "protocol.sgml">
|
|
|
|
<!entity signals SYSTEM "signals.sgml">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<Book Id="programmer">
|
|
|
|
|
|
|
|
<!-- Title information -->
|
|
|
|
|
|
|
|
<Title>PostgreSQL Programmer's Guide</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-10-27)</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>
|
|
|
|
|
|
|
|
&intro-pg;
|
|
|
|
&arch-pg;
|
|
|
|
&extend;
|
|
|
|
&xfunc;
|
|
|
|
&xtypes;
|
|
|
|
&xoper;
|
|
|
|
&xaggr;
|
|
|
|
&rules;
|
|
|
|
&xindex;
|
|
|
|
&gist;
|
|
|
|
&xplang;
|
|
|
|
&dfunc;
|
|
|
|
|
|
|
|
<!-- reference -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
The func-ref chapter is not currently useful.
|
|
|
|
Disable it until we put in some info.
|
|
|
|
- thomas 1998-10-27
|
|
|
|
&func-ref;
|
|
|
|
-->
|
|
|
|
|
|
|
|
&trigger;
|
|
|
|
&spi;
|
|
|
|
&lobj;
|
|
|
|
&libpq;
|
|
|
|
&libpqpp;
|
|
|
|
&libpgtcl;
|
|
|
|
&ecpg;
|
|
|
|
&odbc;
|
|
|
|
&jdbc;
|
|
|
|
|
|
|
|
<!-- development -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
The arch-dev chapter is current almost identical
|
|
|
|
to the arch-pg chapter appearing earlier in the
|
|
|
|
Programmer's Guide. If the Developer's Guide is
|
|
|
|
split into a separate document then start using this
|
|
|
|
again.
|
|
|
|
- thomas 1998-10-23
|
|
|
|
&arch-dev;
|
|
|
|
-->
|
|
|
|
|
|
|
|
&geqo;
|
|
|
|
&protocol;
|
|
|
|
&signals;
|
|
|
|
&compiler;
|
|
|
|
&bki;
|
|
|
|
&page;
|
|
|
|
|
|
|
|
<!-- appendices -->
|
|
|
|
|
|
|
|
&docguide;
|
|
|
|
<!--
|
|
|
|
&contacts;
|
|
|
|
-->
|
|
|
|
&biblio;
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<index id="index">
|
|
|
|
</index>
|
|
|
|
-->
|
|
|
|
|
|
|
|
</Book>
|
|
|
|
|