Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5e5c5cd3
Commit
5e5c5cd3
authored
Mar 25, 2003
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge documentation into one book. (Build with "make html".) Replace
vague cross-references with real links.
parent
685a4934
Changes
93
Hide whitespace changes
Inline
Side-by-side
Showing
93 changed files
with
549 additions
and
1050 deletions
+549
-1050
doc/src/Makefile
doc/src/Makefile
+5
-25
doc/src/sgml/Makefile
doc/src/sgml/Makefile
+26
-58
doc/src/sgml/admin.sgml
doc/src/sgml/admin.sgml
+0
-107
doc/src/sgml/advanced.sgml
doc/src/sgml/advanced.sgml
+4
-4
doc/src/sgml/arch-dev.sgml
doc/src/sgml/arch-dev.sgml
+2
-3
doc/src/sgml/catalogs.sgml
doc/src/sgml/catalogs.sgml
+12
-12
doc/src/sgml/charset.sgml
doc/src/sgml/charset.sgml
+2
-2
doc/src/sgml/ddl.sgml
doc/src/sgml/ddl.sgml
+4
-4
doc/src/sgml/developer.sgml
doc/src/sgml/developer.sgml
+0
-35
doc/src/sgml/dfunc.sgml
doc/src/sgml/dfunc.sgml
+1
-4
doc/src/sgml/dml.sgml
doc/src/sgml/dml.sgml
+2
-2
doc/src/sgml/ecpg.sgml
doc/src/sgml/ecpg.sgml
+2
-2
doc/src/sgml/entities.sgml
doc/src/sgml/entities.sgml
+0
-20
doc/src/sgml/extend.sgml
doc/src/sgml/extend.sgml
+2
-2
doc/src/sgml/filelist.sgml
doc/src/sgml/filelist.sgml
+1
-2
doc/src/sgml/func-ref.sgml
doc/src/sgml/func-ref.sgml
+0
-19
doc/src/sgml/func.sgml
doc/src/sgml/func.sgml
+6
-6
doc/src/sgml/indices.sgml
doc/src/sgml/indices.sgml
+3
-3
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+20
-20
doc/src/sgml/jdbc.sgml
doc/src/sgml/jdbc.sgml
+2
-2
doc/src/sgml/legal.sgml
doc/src/sgml/legal.sgml
+3
-42
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+2
-2
doc/src/sgml/maintenance.sgml
doc/src/sgml/maintenance.sgml
+2
-2
doc/src/sgml/manage-ag.sgml
doc/src/sgml/manage-ag.sgml
+2
-2
doc/src/sgml/monitoring.sgml
doc/src/sgml/monitoring.sgml
+4
-4
doc/src/sgml/mvcc.sgml
doc/src/sgml/mvcc.sgml
+2
-2
doc/src/sgml/notation.sgml
doc/src/sgml/notation.sgml
+2
-2
doc/src/sgml/perform.sgml
doc/src/sgml/perform.sgml
+4
-4
doc/src/sgml/plpgsql.sgml
doc/src/sgml/plpgsql.sgml
+2
-2
doc/src/sgml/postgres.sgml
doc/src/sgml/postgres.sgml
+254
-42
doc/src/sgml/programmer.sgml
doc/src/sgml/programmer.sgml
+0
-160
doc/src/sgml/query.sgml
doc/src/sgml/query.sgml
+3
-3
doc/src/sgml/ref/alter_database.sgml
doc/src/sgml/ref/alter_database.sgml
+3
-3
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_table.sgml
+2
-2
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/alter_user.sgml
+3
-3
doc/src/sgml/ref/analyze.sgml
doc/src/sgml/ref/analyze.sgml
+2
-2
doc/src/sgml/ref/begin.sgml
doc/src/sgml/ref/begin.sgml
+2
-2
doc/src/sgml/ref/checkpoint.sgml
doc/src/sgml/ref/checkpoint.sgml
+2
-10
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/cluster.sgml
+3
-3
doc/src/sgml/ref/create_aggregate.sgml
doc/src/sgml/ref/create_aggregate.sgml
+4
-6
doc/src/sgml/ref/create_cast.sgml
doc/src/sgml/ref/create_cast.sgml
+2
-3
doc/src/sgml/ref/create_conversion.sgml
doc/src/sgml/ref/create_conversion.sgml
+2
-3
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_database.sgml
+3
-3
doc/src/sgml/ref/create_domain.sgml
doc/src/sgml/ref/create_domain.sgml
+1
-4
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_function.sgml
+4
-7
doc/src/sgml/ref/create_group.sgml
doc/src/sgml/ref/create_group.sgml
+2
-3
doc/src/sgml/ref/create_language.sgml
doc/src/sgml/ref/create_language.sgml
+2
-3
doc/src/sgml/ref/create_opclass.sgml
doc/src/sgml/ref/create_opclass.sgml
+2
-3
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/ref/create_operator.sgml
+3
-4
doc/src/sgml/ref/create_sequence.sgml
doc/src/sgml/ref/create_sequence.sgml
+2
-2
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/create_table.sgml
+1
-3
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/ref/create_trigger.sgml
+2
-4
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/ref/create_type.sgml
+1
-2
doc/src/sgml/ref/create_user.sgml
doc/src/sgml/ref/create_user.sgml
+3
-3
doc/src/sgml/ref/drop_aggregate.sgml
doc/src/sgml/ref/drop_aggregate.sgml
+1
-2
doc/src/sgml/ref/ecpg-ref.sgml
doc/src/sgml/ref/ecpg-ref.sgml
+2
-12
doc/src/sgml/ref/explain.sgml
doc/src/sgml/ref/explain.sgml
+2
-2
doc/src/sgml/ref/initdb.sgml
doc/src/sgml/ref/initdb.sgml
+1
-2
doc/src/sgml/ref/initlocation.sgml
doc/src/sgml/ref/initlocation.sgml
+1
-9
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/insert.sgml
+2
-3
doc/src/sgml/ref/load.sgml
doc/src/sgml/ref/load.sgml
+3
-4
doc/src/sgml/ref/pg_config-ref.sgml
doc/src/sgml/ref/pg_config-ref.sgml
+1
-10
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
+2
-2
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dump.sgml
+1
-2
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/pg_restore.sgml
+1
-2
doc/src/sgml/ref/pgtclsh.sgml
doc/src/sgml/ref/pgtclsh.sgml
+2
-2
doc/src/sgml/ref/pgtksh.sgml
doc/src/sgml/ref/pgtksh.sgml
+2
-2
doc/src/sgml/ref/postgres-ref.sgml
doc/src/sgml/ref/postgres-ref.sgml
+3
-3
doc/src/sgml/ref/postmaster.sgml
doc/src/sgml/ref/postmaster.sgml
+6
-6
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+1
-11
doc/src/sgml/ref/reindex.sgml
doc/src/sgml/ref/reindex.sgml
+2
-3
doc/src/sgml/ref/reset.sgml
doc/src/sgml/ref/reset.sgml
+3
-3
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select.sgml
+2
-3
doc/src/sgml/ref/set.sgml
doc/src/sgml/ref/set.sgml
+11
-9
doc/src/sgml/ref/set_transaction.sgml
doc/src/sgml/ref/set_transaction.sgml
+3
-3
doc/src/sgml/ref/show.sgml
doc/src/sgml/ref/show.sgml
+11
-12
doc/src/sgml/ref/vacuum.sgml
doc/src/sgml/ref/vacuum.sgml
+2
-2
doc/src/sgml/reference.sgml
doc/src/sgml/reference.sgml
+14
-22
doc/src/sgml/runtime.sgml
doc/src/sgml/runtime.sgml
+9
-10
doc/src/sgml/standalone-install.sgml
doc/src/sgml/standalone-install.sgml
+3
-3
doc/src/sgml/start.sgml
doc/src/sgml/start.sgml
+4
-4
doc/src/sgml/stylesheet.dsl
doc/src/sgml/stylesheet.dsl
+2
-2
doc/src/sgml/syntax.sgml
doc/src/sgml/syntax.sgml
+2
-3
doc/src/sgml/trigger.sgml
doc/src/sgml/trigger.sgml
+2
-2
doc/src/sgml/tutorial.sgml
doc/src/sgml/tutorial.sgml
+0
-80
doc/src/sgml/typeconv.sgml
doc/src/sgml/typeconv.sgml
+1
-6
doc/src/sgml/user-manag.sgml
doc/src/sgml/user-manag.sgml
+4
-5
doc/src/sgml/user.sgml
doc/src/sgml/user.sgml
+0
-109
doc/src/sgml/xaggr.sgml
doc/src/sgml/xaggr.sgml
+2
-2
doc/src/sgml/xfunc.sgml
doc/src/sgml/xfunc.sgml
+2
-2
src/backend/port/sysv_sema.c
src/backend/port/sysv_sema.c
+2
-2
src/backend/port/sysv_shmem.c
src/backend/port/sysv_shmem.c
+10
-10
src/bin/initdb/initdb.sh
src/bin/initdb/initdb.sh
+2
-2
No files found.
doc/src/Makefile
View file @
5e5c5cd3
# Postgres documentation makefile
# Postgres documentation makefile
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.3
0 2002/11/30 00:22:39 tgl
Exp $
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.3
1 2003/03/25 16:15:35 petere
Exp $
subdir
=
doc/src
subdir
=
doc/src
top_builddir
=
../..
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
include
$(top_builddir)/src/Makefile.global
ZIPSUFFIX
=
gz
BOOKS
=
admin developer reference programmer tutorial user postgres
TARGETS
=
$
(
BOOKS:%
=
%.tar.
$(ZIPSUFFIX)
)
.PRECIOUS
:
.PHONY
:
install all sources clean distclean maintainer-clean
install
:
all
cp
-f
*
.
$(ZIPSUFFIX)
..
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
*
.tar
*
.
$(ZIPSUFFIX)
rm
-f
*
.tar
*
.
gz
$(MAKE)
-C
sgml
$@
$(MAKE)
-C
sgml
$@
all
:
$(TARGETS)
sources
:
$(MAKE)
sources.tar.
$(ZIPSUFFIX)
sources.tar
:
$(TAR)
-cf
$@
sgml graphics
# Build twice to resolve index entries
# Build twice to resolve index entries
$(addsuffix .tar, $(BOOKS))
:
postgres.tar
:
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml clean
$(MAKE)
-C
sgml
$(
basename
$@
)
.
html
$(MAKE)
-C
sgml html
$(MAKE)
-C
sgml
$(
basename
$@
)
.
html
JADEFLAGS
=
'-V html-manifest'
$(MAKE)
-C
sgml html
JADEFLAGS
=
'-V html-manifest'
cd
sgml
&&
$(TAR)
-cf
../
$@
`
cat
HTML.manifest
`
`
echo
*
.gif |
grep
-v
'\*'
`
*
.css
cd
sgml
&&
$(TAR)
-cf
../
$@
`
cat
HTML.manifest
`
`
echo
*
.gif |
grep
-v
'\*'
`
*
.css
man.tar
:
man.tar
:
...
...
doc/src/sgml/Makefile
View file @
5e5c5cd3
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
#
#
# Makefile
# PostgreSQL documentation makefile
# Postgres documentation makefile
# Thomas Lockhart
#
#
# Copyright (c) 1994, Regents of the University of California
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.56 2003/03/25 16:15:35 petere Exp $
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.55 2003/01/14 23:19:34 petere Exp $
#
#
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
...
@@ -26,7 +20,7 @@ endif
...
@@ -26,7 +20,7 @@ endif
ifndef
JADE
ifndef
JADE
JADE
=
jade
JADE
=
jade
endif
endif
SGMLINCLUDE
=
-D
$(srcdir)
-D
$(srcdir)
/ref
SGMLINCLUDE
=
-D
$(srcdir)
ifndef
NSGMLS
ifndef
NSGMLS
NSGMLS
=
nsgmls
NSGMLS
=
nsgmls
...
@@ -39,20 +33,11 @@ endif
...
@@ -39,20 +33,11 @@ endif
CONVERT
=
convert
CONVERT
=
convert
EPSTOPDF
=
epstopdf
EPSTOPDF
=
epstopdf
# docbook2man generates man pages from docbook refentry source code.
# docbook2man generates man pages from docbook refentry source code.
ifndef
D2MDIR
# This is where the (patched) docbook2man perl scripts reside on hub.org.
D2MDIR
=
/home/users/t/thomas/d2x/docbook2man
endif
D2MSCRIPT
=
$(D2MDIR)
/docbook2man-spec.pl
D2MSCRIPT
=
$(D2MDIR)
/docbook2man-spec.pl
vpath
%.sgml
./ref
ALLBOOKS
=
admin developer programmer reference tutorial user
GENERATED_SGML
=
bookindex.sgml
setindex.sgml
version.sgml
\
GENERATED_SGML
=
bookindex.sgml version.sgml
\
features-supported.sgml features-unsupported.sgml
features-supported.sgml features-unsupported.sgml
ALLSGML
:=
$(
wildcard
$(srcdir)
/
*
.sgml
$(srcdir)
/ref/
*
.sgml
)
$(GENERATED_SGML)
ALLSGML
:=
$(
wildcard
$(srcdir)
/
*
.sgml
$(srcdir)
/ref/
*
.sgml
)
$(GENERATED_SGML)
...
@@ -75,12 +60,10 @@ endif
...
@@ -75,12 +60,10 @@ endif
DEFAULTSECTION
:=
$(sqlmansect_dummy)
DEFAULTSECTION
:=
$(sqlmansect_dummy)
man
:
$(ALLSGML)
man
:
postgres.sgml $(ALLSGML)
$(NSGMLS)
$(NSGMLS_FLAGS)
$(srcdir)
/book-decl.sgml
$(srcdir)
/reference.sgml
\
$(NSGMLS)
$(NSGMLS_FLAGS)
$<
|
$(SGMLSPL)
$(D2MSCRIPT)
--lowercase
--section
$(DEFAULTSECTION)
--date
"
`
date
'+%Y-%m-%d'
`
"
|
$(SGMLSPL)
$(D2MSCRIPT)
--lowercase
--section
$(DEFAULTSECTION)
--date
"
`
date
'+%Y-%m-%d'
`
"
# One more time, to resolve cross-references
# One more time, to resolve cross-references
$(NSGMLS)
$(NSGMLS_FLAGS)
$(srcdir)/book-decl.sgml
$(srcdir)/reference.sgml
\
$(NSGMLS)
$(NSGMLS_FLAGS)
$<
|
$(SGMLSPL)
$(D2MSCRIPT)
--lowercase
--section
$(DEFAULTSECTION)
--date
"`date '+%Y-%m-%d'`"
|
$(SGMLSPL)
$(D2MSCRIPT)
--lowercase
--section
$(DEFAULTSECTION)
--date
"`date '+%Y-%m-%d'`"
$(mkinstalldirs)
man1
man$(DEFAULTSECTION)
$(mkinstalldirs)
man1
man$(DEFAULTSECTION)
mv
*.1
man1/
mv
*.1
man1/
mv
*.$(DEFAULTSECTION)
man$(DEFAULTSECTION)/
mv
*.$(DEFAULTSECTION)
man$(DEFAULTSECTION)/
...
@@ -90,36 +73,23 @@ man: $(ALLSGML)
...
@@ -90,36 +73,23 @@ man: $(ALLSGML)
## HTML
## HTML
##
##
JADE.html
=
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-i
output-html
-t
sg
ml
all
:
ht
ml
postgres.html
:
postgres.sgml $(ALLSGML) stylesheet.dsl
.PHONY
:
html
@
rm
-f
*
.html
$(JADE.html)
$<
ln
-sf
index.html
$@
$(addsuffix .html, $(ALLBOOKS))
:
%.html: %.sgml $(ALLSGML) stylesheet.dsl
html
:
postgres.sgml $(ALLSGML) stylesheet.dsl catalogs.gif connections.gif
@
rm
-f
*
.html
@
rm
-f
*
.html
$(JADE.html)
book-decl.sgml
$<
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-i
output-html
-t
sgml
$<
ln
-sf
index.html
$@
programmer.html
:
catalogs.gif connections.gif
postgres.html
:
catalogs.gif connections.gif
COLLATEINDEX
:=
$(PERL)
$(COLLATEINDEX)
-f
-g
COLLATEINDEX
:=
$(PERL)
$(COLLATEINDEX)
-f
-g
-t
'Index'
ifeq
(,$(wildcard HTML.index))
ifeq
(,$(wildcard HTML.index))
bookindex.sgml
:
bookindex.sgml
:
$(COLLATEINDEX)
-o
$@
-N
$(COLLATEINDEX)
-o
$@
-N
setindex.sgml
:
$(COLLATEINDEX)
-x
-o
$@
-N
else
else
bookindex.sgml
:
HTML.index
bookindex.sgml
:
HTML.index
$(COLLATEINDEX)
-i
'bookindex'
-o
$@
$<
$(COLLATEINDEX)
-i
'bookindex'
-o
$@
$<
setindex.sgml
:
HTML.index
$(COLLATEINDEX)
-i
'setindex'
-x
-o
$@
$<
endif
endif
version.sgml
:
$(top_builddir)/src/Makefile.global
version.sgml
:
$(top_builddir)/src/Makefile.global
...
@@ -140,22 +110,25 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
...
@@ -140,22 +110,25 @@ features-unsupported.sgml: $(top_srcdir)/src/backend/catalog/sql_feature_package
##
##
# RTF to allow minor editing for hardcopy
# RTF to allow minor editing for hardcopy
$(addsuffix .rtf, $(ALLBOOKS))
:
%.rtf: %.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
rtf
-V
rtf-backend
-i
output-print book-decl.sgml
$<
%.rtf
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
rtf
-V
rtf-backend
-i
output-print
$<
postgres.rtf
:
catalogs.gif connections.gif
# TeX
# TeX
# Regular TeX and pdfTeX have slightly differing requirements, so we
# Regular TeX and pdfTeX have slightly differing requirements, so we
# need to distinguish the path we're taking.
# need to distinguish the path we're taking.
$(addsuffix .tex-ps, $(ALLBOOKS))
:
%.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl
%.tex-ps
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texdvi-output
-o
$@
book-decl.sgml
$<
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texdvi-output
-o
$@
$<
p
rogrammer
.tex-ps
:
catalogs.eps connections.eps
p
ostgres
.tex-ps
:
catalogs.eps connections.eps
$(addsuffix .tex-pdf, $(ALLBOOKS))
:
%.tex-pdf: %.sgml $(ALLSGML) stylesheet.dsl
%.tex-pdf
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texpdf-output
-o
$@
book-decl.sgml
$<
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
tex
-V
tex-backend
-i
output-print
-V
texpdf-output
-o
$@
$<
p
rogrammer
.tex-pdf
:
catalogs.pdf connections.pdf
p
ostgres
.tex-pdf
:
catalogs.pdf connections.pdf
%.dvi
:
%.tex-ps
%.dvi
:
%.tex-ps
@
rm
-f
$*
.aux
$*
.log
@
rm
-f
$*
.aux
$*
.log
...
@@ -177,8 +150,8 @@ programmer.tex-pdf: catalogs.pdf connections.pdf
...
@@ -177,8 +150,8 @@ programmer.tex-pdf: catalogs.pdf connections.pdf
# This generates an XML version of the flow-object tree. It's useful
# This generates an XML version of the flow-object tree. It's useful
# for debugging DSSSL code, and possibly to interface to some other
# for debugging DSSSL code, and possibly to interface to some other
# tools that can make use of this.
# tools that can make use of this.
$(addsuffix .fot, $(ALLBOOKS))
:
%.fot: %.sgml $(ALLSGML) stylesheet.dsl
%.fot
:
%.sgml $(ALLSGML) stylesheet.dsl
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
fot
-i
output-print
-o
$@
book-decl.sgml
$<
$(JADE)
$(JADEFLAGS)
$(SGMLINCLUDE)
$(CATALOG)
-d
stylesheet.dsl
-t
fot
-i
output-print
-o
$@
$<
# Graphics
# Graphics
...
@@ -224,13 +197,8 @@ regress_README.html: regress.sgml
...
@@ -224,13 +197,8 @@ regress_README.html: regress.sgml
## Check
## Check
##
##
check
:
$(addprefix check-
,
$(ALLBOOKS)) check-postgres
# Quick syntax check without style processing
# Quick syntax check without style processing
$(addprefix check-, $(ALLBOOKS))
:
check-%: %.sgml $(ALLSGML)
check
:
postgres.sgml $(ALLSGML)
$(NSGMLS)
$(SGMLINCLUDE)
-s
book-decl.sgml
$<
check-postgres
:
postgres.sgml $(ALLSGML)
$(NSGMLS)
$(SGMLINCLUDE)
-s
$<
$(NSGMLS)
$(SGMLINCLUDE)
-s
$<
...
...
doc/src/sgml/admin.sgml
deleted
100644 → 0
View file @
685a4934
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/admin.sgml,v 1.41 2002/11/15 03:11:15 momjian Exp $
-->
<book id="admin">
<!-- Title information -->
<title>PostgreSQL &version; Administrator's Guide</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
</bookinfo>
<preface id="admin-preface">
<title>Preface</title>
<![%single-book;[
&intro;
&history;
]]>
<sect1 id="admin-preface-thisbook">
<title>What's In This Book</title>
<para>
This book covers topics that are of interest to a
<productname>PostgreSQL</> database administrator. This includes
installation of the software, set up and configuration of the
server, management of users and databases, and maintenance tasks.
Anyone who runs a <productname>PostgreSQL</> server, either for
personal use, but especially in production, should be familiar
with the topics covered in this book.
</para>
<para>
The information in this book is arranged approximately in the
order in which a new user should read it. But the chapters are
self-contained and can be read individually as desired. The
information in this book is presented in a narrative fashion in
topical units. Readers looking for a complete description of a
particular command should look into the &cite-reference;.
</para>
<para>
The first few chapters are written so that they can be understood
without prerequisite knowledge, so that new users who need to set
up their own server can begin their exploration with this book.
The rest of this book which is about tuning and management
presupposes that the reader is familiar with the general use of
the <productname>PostgreSQL</> database system. Readers are
encouraged to look at the &cite-tutorial; and the &cite-user; for
additional information.
</para>
<para>
This book covers <productname>PostgreSQL &version;</productname>
only. For information on other versions, please read the
documentation that accompanies that release.
</para>
</sect1>
<![%single-book;[
&info;
¬ation;
&problems;
]]>
</preface>
&installation;
&installw;
&runtime;
&user-manag;
&manage-ag;
&client-auth;
&charset;
&maintenance;
&backup;
&monitoring;
&diskusage;
&wal;
®ress;
&release;
<![%single-book;[
&biblio;
&bookindex;
]]>
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode:sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"./reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:("/usr/lib/sgml/catalog")
sgml-local-ecat-files:nil
End:
-->
doc/src/sgml/advanced.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.3
3 2003/03/13 01:30:24
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.3
4 2003/03/25 16:15:35
petere Exp $
-->
-->
<chapter id="tutorial-advanced">
<chapter id="tutorial-advanced">
...
@@ -130,7 +130,7 @@ ERROR: <unnamed> referential integrity violation - key referenced from we
...
@@ -130,7 +130,7 @@ ERROR: <unnamed> referential integrity violation - key referenced from we
<para>
<para>
The behavior of foreign keys can be finely tuned to your
The behavior of foreign keys can be finely tuned to your
application. We will not go beyond this simple example in this
application. We will not go beyond this simple example in this
tutorial, but just refer you to
the &cite-user;
tutorial, but just refer you to
<xref linkend="ddl">
for more information. Making correct use of
for more information. Making correct use of
foreign keys will definitely improve the quality of your database
foreign keys will definitely improve the quality of your database
applications, so you are strongly encouraged to learn about them.
applications, so you are strongly encouraged to learn about them.
...
@@ -394,8 +394,8 @@ SELECT name, altitude
...
@@ -394,8 +394,8 @@ SELECT name, altitude
<productname>PostgreSQL</productname> has many features not
<productname>PostgreSQL</productname> has many features not
touched upon in this tutorial introduction, which has been
touched upon in this tutorial introduction, which has been
oriented toward newer users of <acronym>SQL</acronym>. These
oriented toward newer users of <acronym>SQL</acronym>. These
features are discussed in more detail in
both the &cite-user;
features are discussed in more detail in
the remainder of this
and the &cite-programmer;
.
book
.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/arch-dev.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/arch-dev.sgml,v 2.1
8 2003/02/19 04:06:27 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/arch-dev.sgml,v 2.1
9 2003/03/25 16:15:35 petere
Exp $
-->
-->
<chapter id="overview">
<chapter id="overview">
...
@@ -480,8 +480,7 @@ current context are performed.
...
@@ -480,8 +480,7 @@ current context are performed.
<para>
<para>
For information on the syntax and creation of rules in the
For information on the syntax and creation of rules in the
<productname>PostgreSQL</productname> system refer to the
<productname>PostgreSQL</productname> system refer to <xref linkend="sql">.
&cite-user;.
</para>
</para>
<sect2>
<sect2>
...
...
doc/src/sgml/catalogs.sgml
View file @
5e5c5cd3
<!--
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
Documentation of the system catalogs, directed toward PostgreSQL developers
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.6
7 2003/03/23 05:14:36 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.6
8 2003/03/25 16:15:35 petere
Exp $
-->
-->
<chapter id="catalogs">
<chapter id="catalogs">
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
<para>
<para>
New aggregate functions are registered with the <command>CREATE
New aggregate functions are registered with the <command>CREATE
AGGREGATE</command> command. See
the &cite-programmer;
for more
AGGREGATE</command> command. See
<xref linkend="xaggr">
for more
information about writing aggregate functions and the meaning of
information about writing aggregate functions and the meaning of
the transition functions, etc.
the transition functions, etc.
</para>
</para>
...
@@ -1452,8 +1452,8 @@
...
@@ -1452,8 +1452,8 @@
<para>
<para>
The <structname>pg_database</structname> catalog stores information
The <structname>pg_database</structname> catalog stores information
about the available databases. Databases are created with the
about the available databases. Databases are created with the
<command>CREATE DATABASE</command> command. Consult
the
<command>CREATE DATABASE</command> command. Consult
&cite-admin;
for details about the meaning of some of the
<xref linkend="managing-databases">
for details about the meaning of some of the
parameters.
parameters.
</para>
</para>
...
@@ -1798,7 +1798,7 @@
...
@@ -1798,7 +1798,7 @@
<para>
<para>
This catalog defines groups and stores what users belong to what
This catalog defines groups and stores what users belong to what
groups. Groups are created with the <command>CREATE
groups. Groups are created with the <command>CREATE
GROUP</command> command. Consult
the &cite-admin;
for information
GROUP</command> command. Consult
<xref linkend="user-manag">
for information
about user permission management.
about user permission management.
</para>
</para>
...
@@ -2028,8 +2028,8 @@
...
@@ -2028,8 +2028,8 @@
<para>
<para>
<structname>pg_language</structname> registers call interfaces or
<structname>pg_language</structname> registers call interfaces or
languages in which you can write functions or stored procedures.
languages in which you can write functions or stored procedures.
See under <command>CREATE LANGUAGE</command> and in
the
See under <command>CREATE LANGUAGE</command> and in
&cite-programmer;
for more information about language handlers.
<xref linkend="server-programming">
for more information about language handlers.
</para>
</para>
<table>
<table>
...
@@ -2304,7 +2304,7 @@
...
@@ -2304,7 +2304,7 @@
</para>
</para>
<para>
<para>
Operator classes are described at length in
the &cite-programmer;
.
Operator classes are described at length in
<xref linkend="server-programming">
.
</para>
</para>
<table>
<table>
...
@@ -2392,7 +2392,7 @@
...
@@ -2392,7 +2392,7 @@
<title>pg_operator</title>
<title>pg_operator</title>
<para>
<para>
See <command>CREATE OPERATOR</command> and
the &cite-programmer;
See <command>CREATE OPERATOR</command> and
<xref linkend="xoper">
for details on these operator parameters.
for details on these operator parameters.
</para>
</para>
...
@@ -2562,8 +2562,8 @@
...
@@ -2562,8 +2562,8 @@
<para>
<para>
This catalog stores information about functions (or procedures).
This catalog stores information about functions (or procedures).
The description of <command>CREATE FUNCTION</command> and
the
The description of <command>CREATE FUNCTION</command> and
&cite-programmer;
contain more information about the meaning of
<xref linkend="xfunc">
contain more information about the meaning of
some fields.
some fields.
</para>
</para>
...
@@ -2836,7 +2836,7 @@
...
@@ -2836,7 +2836,7 @@
</para>
</para>
<para>
<para>
The &cite-admin;
contains detailed information about user and
<xref linkend="user-manag">
contains detailed information about user and
permission management.
permission management.
</para>
</para>
...
...
doc/src/sgml/charset.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/charset.sgml,v 2.3
3 2003/03/24 14:32:50
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/charset.sgml,v 2.3
4 2003/03/25 16:15:35
petere Exp $ -->
<chapter id="charset">
<chapter id="charset">
<title>Localization</>
<title>Localization</>
...
@@ -279,7 +279,7 @@ initdb --locale=sv_SE
...
@@ -279,7 +279,7 @@ initdb --locale=sv_SE
<productname>PostgreSQL</> speak their preferred language well.
<productname>PostgreSQL</> speak their preferred language well.
If messages in your language is currently not available or fully
If messages in your language is currently not available or fully
translated, your assistance would be appreciated. If you want to
translated, your assistance would be appreciated. If you want to
help, refer to the
&cite-developer;
or write to the developers'
help, refer to the
<xref linkend="nls">
or write to the developers'
mailing list.
mailing list.
</para>
</para>
</sect2>
</sect2>
...
...
doc/src/sgml/ddl.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ddl.sgml,v 1.1
3 2003/03/13 01:30:28
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ddl.sgml,v 1.1
4 2003/03/25 16:15:35
petere Exp $ -->
<chapter id="ddl">
<chapter id="ddl">
<title>Data Definition</title>
<title>Data Definition</title>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
schemas, and how privileges can be assigned to tables. Finally,
schemas, and how privileges can be assigned to tables. Finally,
we will briefly look at other features that affect the data storage,
we will briefly look at other features that affect the data storage,
such as views, functions, and triggers. Detailed information on
such as views, functions, and triggers. Detailed information on
these topics is found in
the &cite-programmer;
.
these topics is found in
<xref linkend="server-programming">
.
</para>
</para>
<sect1 id="ddl-basics">
<sect1 id="ddl-basics">
...
@@ -274,7 +274,7 @@ DROP TABLE products;
...
@@ -274,7 +274,7 @@ DROP TABLE products;
Transaction identifiers are also 32-bit quantities. In a long-lived
Transaction identifiers are also 32-bit quantities. In a long-lived
database it is possible for transaction IDs to wrap around. This
database it is possible for transaction IDs to wrap around. This
is not a fatal problem given appropriate maintenance procedures;
is not a fatal problem given appropriate maintenance procedures;
see
the &cite-admin;
for details. However, it is
see
<xref linkend="maintenance">
for details. However, it is
unwise to depend on uniqueness of transaction IDs over the long term
unwise to depend on uniqueness of transaction IDs over the long term
(more than one billion transactions).
(more than one billion transactions).
</para>
</para>
...
@@ -819,7 +819,7 @@ CREATE TABLE order_items (
...
@@ -819,7 +819,7 @@ CREATE TABLE order_items (
If the foreign key references a unique constraint, there are some
If the foreign key references a unique constraint, there are some
additional possibilities regarding how null values are matched.
additional possibilities regarding how null values are matched.
These are explained in the <literal>CREATE TABLE</literal> entry
These are explained in the <literal>CREATE TABLE</literal> entry
in
the &cite-reference;
.
in
<xref linkend="reference">
.
</para>
</para>
</sect2>
</sect2>
</sect1>
</sect1>
...
...
doc/src/sgml/developer.sgml
deleted
100644 → 0
View file @
685a4934
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/Attic/developer.sgml,v 1.7 2002/09/21 18:32:52 petere Exp $ -->
<!-- PostgreSQL Developer's Guide -->
<book id="developer">
<title>PostgreSQL &version; Developer's Guide</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
<abstract>
<para>
This document contains assorted information that can be of use to
<productname>PostgreSQL</> developers.
</para>
</abstract>
</bookinfo>
&sources;
&arch-dev;
&catalogs;
&protocol;
&compiler;
&bki;
&page;
&geqo;
&gist;
&nls;
<!-- appendices -->
&cvs;
&docguide;
<![%single-book;[
&biblio;
]]>
</book>
doc/src/sgml/dfunc.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/dfunc.sgml,v 1.2
3 2003/01/19 00:13:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/dfunc.sgml,v 1.2
4 2003/03/25 16:15:35 petere
Exp $
-->
-->
<sect2 id="dfunc">
<sect2 id="dfunc">
...
@@ -318,9 +318,6 @@ ld <other flags> -H512 -T512 -o foo.so -e _nostart \e
...
@@ -318,9 +318,6 @@ ld <other flags> -H512 -T512 -o foo.so -e _nostart \e
-bI:.../lib/postgres.exp -bE:foo.exp foo.o \e
-bI:.../lib/postgres.exp -bE:foo.exp foo.o \e
-lm -lc 2>/dev/null
-lm -lc 2>/dev/null
.fi
.fi
You should look at the &cite-user; for an explanation of
this procedure.
-->
-->
</sect2>
</sect2>
...
...
doc/src/sgml/dml.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/dml.sgml,v 1.
3 2002/11/11 20:14:02
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/dml.sgml,v 1.
4 2003/03/25 16:15:35
petere Exp $ -->
<chapter id="dml">
<chapter id="dml">
<title>Data Manipulation</title>
<title>Data Manipulation</title>
...
@@ -89,7 +89,7 @@ INSERT INTO products DEFAULT VALUES;
...
@@ -89,7 +89,7 @@ INSERT INTO products DEFAULT VALUES;
<para>
<para>
To do <quote>bulk loads</quote>, that is, inserting a lot of data,
To do <quote>bulk loads</quote>, that is, inserting a lot of data,
take a look at the <command>COPY</command> command (see
take a look at the <command>COPY</command> command (see
&cite-reference;
). It is not as flexible as the
<xref linkend="reference">
). It is not as flexible as the
<command>INSERT</command> command, but more efficient.
<command>INSERT</command> command, but more efficient.
</para>
</para>
</tip>
</tip>
...
...
doc/src/sgml/ecpg.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.4
2 2003/03/13 01:30:28
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.4
3 2003/03/25 16:15:35
petere Exp $
-->
-->
<chapter id="ecpg">
<chapter id="ecpg">
...
@@ -802,7 +802,7 @@ ECPG = ecpg
...
@@ -802,7 +802,7 @@ ECPG = ecpg
<para>
<para>
The complete syntax of the <command>ecpg</command> command is
The complete syntax of the <command>ecpg</command> command is
detailed in
the &cite-reference;
.
detailed in
<xref linkend="app-ecpg">
.
</para>
</para>
</sect1>
</sect1>
...
...
doc/src/sgml/entities.sgml
deleted
100644 → 0
View file @
685a4934
<![%single-book;[
<!entity cite-admin "<citetitle>PostgreSQL Administrator's Guide</citetitle>">
<!entity cite-developer "<citetitle>PostgreSQL Developer's Guide</citetitle>">
<!entity cite-programmer "<citetitle>PostgreSQL Programmer's Guide</citetitle>">
<!entity cite-reference "<citetitle>PostgreSQL Reference Manual</citetitle>">
<!entity cite-tutorial "<citetitle>PostgreSQL Tutorial</citetitle>">
<!entity cite-user "<citetitle>PostgreSQL User's Guide</citetitle>">
]]>
<![%set-of-books;[
<!entity cite-admin "<xref linkend='admin'>">
<!entity cite-developer "<xref linkend='developer'>">
<!entity cite-programmer "<xref linkend='programmer'>">
<!entity cite-reference "<xref linkend='reference'>">
<!entity cite-tutorial "<xref linkend='tutorial'>">
<!entity cite-user "<xref linkend='user'>">
]]>
doc/src/sgml/extend.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.
19 2003/01/19 00:13:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.
20 2003/03/25 16:15:36 petere
Exp $
-->
-->
<chapter id="extend">
<chapter id="extend">
...
@@ -214,7 +214,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.19 2003/01/19 00:13:28 momj
...
@@ -214,7 +214,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/extend.sgml,v 1.19 2003/01/19 00:13:28 momj
</mediaobject>
</mediaobject>
</figure>
</figure>
The &cite-developer;
gives a more detailed explanation of these
<xref linkend="catalogs">
gives a more detailed explanation of these
catalogs and their columns. However,
catalogs and their columns. However,
<xref linkend="EXTEND-CATALOGS">
<xref linkend="EXTEND-CATALOGS">
shows the major entities and their relationships
shows the major entities and their relationships
...
...
doc/src/sgml/filelist.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.2
6 2003/01/14 23:19:34
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.2
7 2003/03/25 16:15:36
petere Exp $ -->
<!entity history SYSTEM "history.sgml">
<!entity history SYSTEM "history.sgml">
<!entity info SYSTEM "info.sgml">
<!entity info SYSTEM "info.sgml">
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<!entity problems SYSTEM "problems.sgml">
<!entity problems SYSTEM "problems.sgml">
<!entity bookindex SYSTEM "bookindex.sgml">
<!entity bookindex SYSTEM "bookindex.sgml">
<!entity setindex SYSTEM "setindex.sgml">
<!-- tutorial -->
<!-- tutorial -->
<!entity advanced SYSTEM "advanced.sgml">
<!entity advanced SYSTEM "advanced.sgml">
...
...
doc/src/sgml/func-ref.sgml
deleted
100644 → 0
View file @
685a4934
<Chapter Id="func-ref">
<Title>Functions</Title>
<Abstract>
<Para>
Reference information for user-callable functions.
</Para>
</Abstract>
<Note>
<Para>
This section needs to be written. Volunteers?
</Para>
</Note>
<Para>
</Para>
</Chapter>
doc/src/sgml/func.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.14
7 2003/03/24 14:32:50
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.14
8 2003/03/25 16:15:36
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -17,8 +17,8 @@ PostgreSQL documentation
...
@@ -17,8 +17,8 @@ PostgreSQL documentation
<para>
<para>
<productname>PostgreSQL</productname> provides a large number of
<productname>PostgreSQL</productname> provides a large number of
functions and operators for the built-in data types. Users can also
functions and operators for the built-in data types. Users can also
define their own functions and operators, as described in
the
define their own functions and operators, as described in
&cite-programmer;
. The
<xref linkend="server-programming">
. The
<application>psql</application> commands <command>\df</command> and
<application>psql</application> commands <command>\df</command> and
<command>\do</command> can be used to show the list of all actually
<command>\do</command> can be used to show the list of all actually
available functions and operators, respectively.
available functions and operators, respectively.
...
@@ -2680,8 +2680,8 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
...
@@ -2680,8 +2680,8 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
<note>
<note>
<para>
<para>
The form of regular expressions accepted by <productname>PostgreSQL</>
The form of regular expressions accepted by <productname>PostgreSQL</>
can be chosen by setting the <varname>
REGEX_FLAVOR
</> run-time parameter
can be chosen by setting the <varname>
regex_flavor
</> run-time parameter
(described in
the &cite-admin;
). The usual setting is
(described in
<xref linkend="runtime-config">
). The usual setting is
<literal>advanced</>, but one might choose <literal>extended</> for
<literal>advanced</>, but one might choose <literal>extended</> for
maximum backwards compatibility with pre-7.4 releases of
maximum backwards compatibility with pre-7.4 releases of
<productname>PostgreSQL</>.
<productname>PostgreSQL</>.
...
@@ -6950,7 +6950,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
...
@@ -6950,7 +6950,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
linkend="functions-aggregate-table"> shows the built-in aggregate
linkend="functions-aggregate-table"> shows the built-in aggregate
functions. The special syntax considerations for aggregate
functions. The special syntax considerations for aggregate
functions are explained in <xref linkend="syntax-aggregates">.
functions are explained in <xref linkend="syntax-aggregates">.
Consult
the &cite-tutorial;
for additional introductory
Consult
<xref linkend="tutorial">
for additional introductory
information.
information.
</para>
</para>
...
...
doc/src/sgml/indices.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.
39 2003/03/13 01:30:28
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v 1.
40 2003/03/25 16:15:36
petere Exp $ -->
<chapter id="indexes">
<chapter id="indexes">
<title id="indexes-title">Indexes</title>
<title id="indexes-title">Indexes</title>
...
@@ -715,7 +715,7 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
...
@@ -715,7 +715,7 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
<para>
<para>
When indexes are not used, it can be useful for testing to force
When indexes are not used, it can be useful for testing to force
their use. There are run-time parameters that can turn off
their use. There are run-time parameters that can turn off
various plan types (described in
the &cite-admin;
).
various plan types (described in
<xref linkend="runtime-config">
).
For instance, turning off sequential scans
For instance, turning off sequential scans
(<varname>enable_seqscan</>) and nested-loop joins
(<varname>enable_seqscan</>) and nested-loop joins
(<varname>enable_nestloop</>), which are the most basic plans,
(<varname>enable_nestloop</>), which are the most basic plans,
...
@@ -745,7 +745,7 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
...
@@ -745,7 +745,7 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
again, two possibilities. The total cost is computed from the
again, two possibilities. The total cost is computed from the
per-row costs of each plan node times the selectivity estimate of
per-row costs of each plan node times the selectivity estimate of
the plan node. The costs of the plan nodes can be tuned with
the plan node. The costs of the plan nodes can be tuned with
run-time parameters (described in
the &cite-admin;
).
run-time parameters (described in
<xref linkend="runtime-config">
).
An inaccurate selectivity estimate is due to
An inaccurate selectivity estimate is due to
insufficient statistics. It may be possible to help this by
insufficient statistics. It may be possible to help this by
tuning the statistics-gathering parameters (see <command>ALTER
tuning the statistics-gathering parameters (see <command>ALTER
...
...
doc/src/sgml/installation.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.13
1 2003/03/25 15:11:53 momjian
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.13
2 2003/03/25 16:15:36 petere
Exp $ -->
<chapter id="installation">
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
<title><![%standalone-include[<productname>PostgreSQL</>]]>
...
@@ -398,7 +398,7 @@ JAVACMD=$JAVA_HOME/bin/java
...
@@ -398,7 +398,7 @@ JAVACMD=$JAVA_HOME/bin/java
<para>
<para>
<command>pg_dumpall</command> does not
<command>pg_dumpall</command> does not
save large objects. Check
save large objects. Check
<![%standalone-include[the
<citetitle>Administrator's Guide</>
]]>
<![%standalone-include[the
documentation
]]>
<![%standalone-ignore[<xref linkend="backup-dump-caveats">]]>
<![%standalone-ignore[<xref linkend="backup-dump-caveats">]]>
if you need to do this.
if you need to do this.
</para>
</para>
...
@@ -474,7 +474,7 @@ JAVACMD=$JAVA_HOME/bin/java
...
@@ -474,7 +474,7 @@ JAVACMD=$JAVA_HOME/bin/java
<para>
<para>
These topics are discussed at length in <![%standalone-include[the
These topics are discussed at length in <![%standalone-include[the
<citetitle>Administrator's Guide</>
,]]> <![%standalone-ignore[<xref
documentation
,]]> <![%standalone-ignore[<xref
linkend="migration">,]]> which you are encouraged to read in any
linkend="migration">,]]> which you are encouraged to read in any
case.
case.
</para>
</para>
...
@@ -656,8 +656,8 @@ JAVACMD=$JAVA_HOME/bin/java
...
@@ -656,8 +656,8 @@ JAVACMD=$JAVA_HOME/bin/java
internal header files and the server header files are installed
internal header files and the server header files are installed
into private directories under
into private directories under
<varname>includedir</varname>.
<varname>includedir</varname>.
See the
&cite-programmer;
for information about how to get at
See the
documentation of each interface
for information about how to get at
the
header files for each interface
.
the
its header files
.
Finally, a private subdirectory will also be created, if appropriate,
Finally, a private subdirectory will also be created, if appropriate,
under <varname>libdir</varname> for dynamically loadable modules.
under <varname>libdir</varname> for dynamically loadable modules.
</para>
</para>
...
@@ -705,8 +705,7 @@ JAVACMD=$JAVA_HOME/bin/java
...
@@ -705,8 +705,7 @@ JAVACMD=$JAVA_HOME/bin/java
<listitem>
<listitem>
<para>
<para>
Enables single-byte character set recode support. See
Enables single-byte character set recode support. See
<![%standalone-include[the <citetitle>Administrator's
<![%standalone-include[the documentation]]> <![%standalone-ignore[<xref
Guide</citetitle>]]> <![%standalone-ignore[<xref
linkend="recode">]]> about this feature. Note that a more
linkend="recode">]]> about this feature. Note that a more
general form of character set conversion is supported in the
general form of character set conversion is supported in the
default configuration; this feature is obsolete.
default configuration; this feature is obsolete.
...
@@ -1029,7 +1028,7 @@ All of PostgreSQL is successfully made. Ready to install.
...
@@ -1029,7 +1028,7 @@ All of PostgreSQL is successfully made. Ready to install.
message wording or floating point results.
message wording or floating point results.
<![%standalone-include[The file
<![%standalone-include[The file
<filename>src/test/regress/README</> and the
<filename>src/test/regress/README</> and the
<citetitle>Administrator's Guide</citetitle>
contain]]>
documentation
contain]]>
<![%standalone-ignore[<xref linkend="regress"> contains]]>
<![%standalone-ignore[<xref linkend="regress"> contains]]>
detailed information about interpreting the test results. You can
detailed information about interpreting the test results. You can
repeat this test at any later time by issuing the same command.
repeat this test at any later time by issuing the same command.
...
@@ -1311,7 +1310,7 @@ export MANPATH
...
@@ -1311,7 +1310,7 @@ export MANPATH
<para>
<para>
The following is a quick summary of how to get <productname>PostgreSQL</> up and
The following is a quick summary of how to get <productname>PostgreSQL</> up and
running once installed. The
&cite-admin;
contains more information.
running once installed. The
main documentation
contains more information.
</para>
</para>
<procedure>
<procedure>
...
@@ -1417,10 +1416,11 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
...
@@ -1417,10 +1416,11 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
</para>
</para>
<para>
<para>
The &cite-tutorial; should be your first reading if you are
The first few chapters of the main documentation are the Tutorial,
completely new to <acronym>SQL</> databases. If you are
which should be your first reading if you are completely new to
familiar with database concepts then you want to proceed with
<acronym>SQL</> databases. If you are familiar with database
the &cite-admin;, which contains information about how to set up
concepts then you want to proceed with part on server
administration, which contains information about how to set up
the database server, database users, and authentication.
the database server, database users, and authentication.
</para>
</para>
</listitem>
</listitem>
...
@@ -1429,7 +1429,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
...
@@ -1429,7 +1429,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
<para>
<para>
Usually, you will want to modify your computer so that it will
Usually, you will want to modify your computer so that it will
automatically start the database server whenever it boots. Some
automatically start the database server whenever it boots. Some
suggestions for this are in the
&cite-admin;
.
suggestions for this are in the
documentation
.
</para>
</para>
</listitem>
</listitem>
...
@@ -1438,7 +1438,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
...
@@ -1438,7 +1438,7 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
Run the regression tests against the installed server (using the
Run the regression tests against the installed server (using the
sequential test method). If you didn't run the tests before
sequential test method). If you didn't run the tests before
installation, you should definitely do it now. This is also
installation, you should definitely do it now. This is also
explained in the
&cite-admin;
.
explained in the
documentation
.
</para>
</para>
</listitem>
</listitem>
...
@@ -1450,16 +1450,16 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
...
@@ -1450,16 +1450,16 @@ kill `cat /usr/local/pgsql/data/postmaster.pid`
<para>
<para>
The documentation is also available in Postscript format. If you
The documentation is also available in Postscript format. If you
have a Postscript printer, or have your machine already set up to
have a Postscript printer, or have your machine already set up to
accept Postscript files using a print filter, then to print,
for
accept Postscript files using a print filter, then to print,
the
example the <citetitle>User's Guide</>
simply type
documentation
simply type
<programlisting>
<programlisting>
cd /usr/local/pgsql/doc
cd /usr/local/pgsql/doc
gunzip -c
user
.ps.gz | lpr
gunzip -c
postgres
.ps.gz | lpr
</programlisting>
</programlisting>
Here is how you might do it if you have <productname>Ghostscript</>
Here is how you might do it if you have <productname>Ghostscript</>
installed on your system and are writing to a Laserjet printer.
installed on your system and are writing to a Laserjet printer.
<programlisting>
<programlisting>
gunzip -c
user
.ps.gz \
gunzip -c
postgres
.ps.gz \
| gs -sDEVICE=laserjet -r300 -q -dNOPAUSE -sOutputFile=- \
| gs -sDEVICE=laserjet -r300 -q -dNOPAUSE -sOutputFile=- \
| lpr
| lpr
</programlisting>
</programlisting>
...
@@ -1774,7 +1774,7 @@ gunzip -c user.ps.gz \
...
@@ -1774,7 +1774,7 @@ gunzip -c user.ps.gz \
Dave Page (<email>dpage@vale-housing.co.uk</email>)</entry>
Dave Page (<email>dpage@vale-housing.co.uk</email>)</entry>
<entry>
<entry>
native is client-side only;
native is client-side only;
<![%standalone-include[see
Administrator's Guide
]]>
<![%standalone-include[see
documentation
]]>
<![%standalone-ignore[see <xref linkend="install-win32">]]>
<![%standalone-ignore[see <xref linkend="install-win32">]]>
</entry>
</entry>
</row>
</row>
...
...
doc/src/sgml/jdbc.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.4
2 2003/01/19 00:13:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/jdbc.sgml,v 1.4
3 2003/03/25 16:15:37 petere
Exp $
-->
-->
<chapter id="jdbc">
<chapter id="jdbc">
...
@@ -124,7 +124,7 @@ java Finder
...
@@ -124,7 +124,7 @@ java Finder
<para>
<para>
Also, the client authentication setup in the
Also, the client authentication setup in the
<filename>pg_hba.conf</filename> file may need to be configured.
<filename>pg_hba.conf</filename> file may need to be configured.
Refer to
the &cite-admin;
for details. The
Refer to
<xref linkend="client-authentication">
for details. The
<acronym>JDBC</acronym> Driver supports the trust, ident,
<acronym>JDBC</acronym> Driver supports the trust, ident,
password, md5, and crypt authentication methods.
password, md5, and crypt authentication methods.
</para>
</para>
...
...
doc/src/sgml/legal.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/legal.sgml,v 1.1
4 2002/06/20 20:29:24 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/legal.sgml,v 1.1
5 2003/03/25 16:15:37 petere
Exp $
-->
-->
<copyright>
<copyright>
<year>1996-200
2
</year>
<year>1996-200
3
</year>
<holder>The PostgreSQL Global Development Group</holder>
<holder>The PostgreSQL Global Development Group</holder>
</copyright>
</copyright>
<legalnotice>
<legalnotice
id="legalnotice"
>
<title>Legal Notice</title>
<title>Legal Notice</title>
<para>
<para>
...
@@ -46,45 +46,6 @@ $Header: /cvsroot/pgsql/doc/src/sgml/legal.sgml,v 1.14 2002/06/20 20:29:24 momji
...
@@ -46,45 +46,6 @@ $Header: /cvsroot/pgsql/doc/src/sgml/legal.sgml,v 1.14 2002/06/20 20:29:24 momji
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
</para>
</para>
<!--
How to keep track of all the trademarks? I'll try the strategy used at
www.qnx.com - thomas
--
--
There is no legal requirement to make trademark acknowledgements in
references to third party products that happen to have trademarked
names.
The exception would be if <productname>PostgreSQL</>
were to license a particular
trademark and the trademark holder makes this requirement (as in the
case of UNIX and Java).
What is not allowed, however, is to use a trademark name in a way that
could lead people to believe that they label <productname>PostgreSQL</> products.
E.g., "the <productname>PostgreSQL</> UNIX database system" would probably be illegal,
whereas "<productname>PostgreSQL</>, which runs on many UNIX computer systems" is
fine. This is independent of whether a trademark acknowledgement is
made.
- petere
<para>
<acronym>Unix</acronym> is a trademark of X/Open, Ltd. Sun4, SPARC, SunOS
and Solaris are trademarks of Sun Microsystems, Inc. DEC,
DECstation, Alpha AXP and ULTRIX are trademarks of Compaq, formerly Digital
Equipment Corp. PA-RISC and HP-UX are trademarks of
Hewlett-Packard Co. OSF/1 is a trademark of the Open
Software Foundation.
</para>
-->
<!--
<para>
All trademarks are the property of their respective owners.
</para>
-->
</legalnotice>
</legalnotice>
<!-- Keep this comment at the end of the file
<!-- Keep this comment at the end of the file
...
...
doc/src/sgml/libpq.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.11
6 2003/03/25 02:44:36 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.11
7 2003/03/25 16:15:37 petere
Exp $
-->
-->
<chapter id="libpq">
<chapter id="libpq">
...
@@ -1098,7 +1098,7 @@ unsigned char *PQescapeBytea(const unsigned char *from,
...
@@ -1098,7 +1098,7 @@ unsigned char *PQescapeBytea(const unsigned char *from,
three digit octal number equal to the octet value, and preceded by
three digit octal number equal to the octet value, and preceded by
two backslashes. The single quote (<literal>'</>) and backslash
two backslashes. The single quote (<literal>'</>) and backslash
(<literal>\</>) characters have special alternative escape
(<literal>\</>) characters have special alternative escape
sequences. See
the &cite-user;
for more
sequences. See
<xref linkend="datatype-binary">
for more
information. <function>PQescapeBytea</function> performs this
information. <function>PQescapeBytea</function> performs this
operation, escaping only the minimally required bytes.
operation, escaping only the minimally required bytes.
</para>
</para>
...
...
doc/src/sgml/maintenance.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.2
1 2003/03/24 14:32:50
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.2
2 2003/03/25 16:15:37
petere Exp $
-->
-->
<chapter id="maintenance">
<chapter id="maintenance">
...
@@ -99,7 +99,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.21 2003/03/24 14:32:50
...
@@ -99,7 +99,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.21 2003/03/24 14:32:50
<command>UPDATE</> or <command>DELETE</> of a row does not
<command>UPDATE</> or <command>DELETE</> of a row does not
immediately remove the old <firstterm>tuple</> (version of the row).
immediately remove the old <firstterm>tuple</> (version of the row).
This approach is necessary to gain the benefits of multiversion
This approach is necessary to gain the benefits of multiversion
concurrency control (see
the &cite-user;
): the tuple
concurrency control (see
<xref linkend="mvcc">
): the tuple
must not be deleted while it is still potentially visible to other
must not be deleted while it is still potentially visible to other
transactions. But eventually, an outdated or deleted tuple is no
transactions. But eventually, an outdated or deleted tuple is no
longer of interest to any transaction. The space it occupies must be
longer of interest to any transaction. The space it occupies must be
...
...
doc/src/sgml/manage-ag.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/manage-ag.sgml,v 2.2
6 2003/03/18 22:19:46
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/manage-ag.sgml,v 2.2
7 2003/03/25 16:15:37
petere Exp $
-->
-->
<chapter id="managing-databases">
<chapter id="managing-databases">
...
@@ -49,7 +49,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/manage-ag.sgml,v 2.26 2003/03/18 22:19:46 p
...
@@ -49,7 +49,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/manage-ag.sgml,v 2.26 2003/03/18 22:19:46 p
or users are interrelated and should be able to use each other's
or users are interrelated and should be able to use each other's
resources they should be put in the same databases but possibly
resources they should be put in the same databases but possibly
into separate schemas. More information about managing schemas is
into separate schemas. More information about managing schemas is
in
the &cite-user;
.
in
<xref linkend="ddl-schemas">
.
</para>
</para>
<note>
<note>
...
...
doc/src/sgml/monitoring.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.1
8 2003/03/24 14:32:50
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.1
9 2003/03/25 16:15:37
petere Exp $
-->
-->
<chapter id="monitoring">
<chapter id="monitoring">
...
@@ -19,7 +19,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.18 2003/03/24 14:32:50
...
@@ -19,7 +19,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/monitoring.sgml,v 1.18 2003/03/24 14:32:50
<command>ps</> and <command>top</>. Also, once one has identified a
<command>ps</> and <command>top</>. Also, once one has identified a
poorly-performing query, further investigation may be needed using
poorly-performing query, further investigation may be needed using
<productname>PostgreSQL</productname>'s <command>EXPLAIN</> command.
<productname>PostgreSQL</productname>'s <command>EXPLAIN</> command.
The &cite-user;
discusses <command>EXPLAIN</>
<xref linkend="using-explain">
discusses <command>EXPLAIN</>
and other methods for understanding the behavior of an individual
and other methods for understanding the behavior of an individual
query.
query.
</para>
</para>
...
@@ -624,7 +624,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
...
@@ -624,7 +624,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
</itemizedlist>
</itemizedlist>
For more information on locking and managing concurrency with
For more information on locking and managing concurrency with
<productname>PostgreSQL</productname>, refer to
the &cite-user;
.
<productname>PostgreSQL</productname>, refer to
<xref linkend="mvcc">
.
</para>
</para>
<note>
<note>
...
@@ -727,7 +727,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
...
@@ -727,7 +727,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,
The mode of the requested or held lock on the lockable
The mode of the requested or held lock on the lockable
object. For more information on the different lock modes
object. For more information on the different lock modes
available in <productname>PostgreSQL</productname>, refer to
available in <productname>PostgreSQL</productname>, refer to
the &cite-user;
.
<xref linkend="mvcc">
.
</entry>
</entry>
</row>
</row>
...
...
doc/src/sgml/mvcc.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/mvcc.sgml,v 2.3
4 2003/03/13 01:30:29
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/mvcc.sgml,v 2.3
5 2003/03/25 16:15:37
petere Exp $
-->
-->
<chapter id="mvcc">
<chapter id="mvcc">
...
@@ -421,7 +421,7 @@ ERROR: Can't serialize access due to concurrent update
...
@@ -421,7 +421,7 @@ ERROR: Can't serialize access due to concurrent update
To examine a list of the currently outstanding locks in a database
To examine a list of the currently outstanding locks in a database
server, use the <literal>pg_locks</literal> system view. For more
server, use the <literal>pg_locks</literal> system view. For more
information on monitoring the status of the lock manager
information on monitoring the status of the lock manager
subsystem, refer to
the &cite-admin;
.
subsystem, refer to
<xref linkend="monitoring">
.
</para>
</para>
<variablelist>
<variablelist>
...
...
doc/src/sgml/notation.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/notation.sgml,v 1.2
1 2003/01/19 00:13:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/notation.sgml,v 1.2
2 2003/03/25 16:15:37 petere
Exp $
-->
-->
<sect1 id="notation">
<sect1 id="notation">
...
@@ -18,7 +18,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/notation.sgml,v 1.21 2003/01/19 00:13:28 mo
...
@@ -18,7 +18,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/notation.sgml,v 1.21 2003/01/19 00:13:28 mo
We use <filename>/usr/local/pgsql/</filename> as the root
We use <filename>/usr/local/pgsql/</filename> as the root
directory of the installation and <filename>/usr/local/pgsql/data</filename>
directory of the installation and <filename>/usr/local/pgsql/data</filename>
as the directory with the database files. These directories may vary
as the directory with the database files. These directories may vary
on your site, details can be derived in
the &cite-admin;
.
on your site, details can be derived in
<xref linkend="installation">
.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/perform.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.2
7 2003/03/13 01:30:29
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.2
8 2003/03/25 16:15:37
petere Exp $
-->
-->
<chapter id="performance-tips">
<chapter id="performance-tips">
...
@@ -65,8 +65,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.27 2003/03/13 01:30:29 pet
...
@@ -65,8 +65,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/perform.sgml,v 1.27 2003/03/13 01:30:29 pet
The costs are measured in units of disk page fetches. (CPU effort
The costs are measured in units of disk page fetches. (CPU effort
estimates are converted into disk-page units using some
estimates are converted into disk-page units using some
fairly arbitrary fudge factors. If you want to experiment with these
fairly arbitrary fudge factors. If you want to experiment with these
factors, see the list of run-time configuration parameters in
the
factors, see the list of run-time configuration parameters in
&cite-admin;
.)
<xref linkend="runtime-config">
.)
</para>
</para>
<para>
<para>
...
@@ -572,7 +572,7 @@ SELECT * FROM a, b, c WHERE a.id = b.id AND b.ref = c.id;
...
@@ -572,7 +572,7 @@ SELECT * FROM a, b, c WHERE a.id = b.id AND b.ref = c.id;
search to a <firstterm>genetic</firstterm> probabilistic search
search to a <firstterm>genetic</firstterm> probabilistic search
through a limited number of possibilities. (The switch-over threshold is
through a limited number of possibilities. (The switch-over threshold is
set by the <varname>geqo_threshold</varname> run-time
set by the <varname>geqo_threshold</varname> run-time
parameter
described in the &cite-admin;
.)
parameter.)
The genetic search takes less time, but it won't
The genetic search takes less time, but it won't
necessarily find the best possible plan.
necessarily find the best possible plan.
</para>
</para>
...
...
doc/src/sgml/plpgsql.sgml
View file @
5e5c5cd3
<
!--
<
!--
$
Header
:
/
cvsroot
/
pgsql
/
doc
/
src
/
sgml
/
plpgsql
.
sgml
,
v
1.1
5
2003
/
02
/
19
04
:
06
:
28
momjian
Exp
$
$
Header
:
/
cvsroot
/
pgsql
/
doc
/
src
/
sgml
/
plpgsql
.
sgml
,
v
1.1
6
2003
/
03
/
25
16
:
15
:
37
petere
Exp
$
-->
-->
<
chapter
id
=
"plpgsql"
>
<
chapter
id
=
"plpgsql"
>
...
@@ -1931,7 +1931,7 @@ RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="pa
...
@@ -1931,7 +1931,7 @@ RAISE <replaceable class="parameter">level</replaceable> '<replaceable class="pa
written
to
the
server
log
,
or
both
is
controlled
by
the
written
to
the
server
log
,
or
both
is
controlled
by
the
<
option
>
LOG_MIN_MESSAGES
</
option
>
and
<
option
>
LOG_MIN_MESSAGES
</
option
>
and
<
option
>
CLIENT_MIN_MESSAGES
</
option
>
configuration
variables
.
See
<
option
>
CLIENT_MIN_MESSAGES
</
option
>
configuration
variables
.
See
the
&
cite
-
admin
;
for
more
information
.
<
xref
linkend
=
"runtime-config"
>
for
more
information
.
</
para
>
</
para
>
<
para
>
<
para
>
...
...
doc/src/sgml/postgres.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.4
8 2002/08/05 19:43:31
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.4
9 2003/03/25 16:15:38
petere Exp $
-->
-->
<!
doctype set
PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!
DOCTYPE book
PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
<!entity % version SYSTEM "version.sgml">
<!entity % version SYSTEM "version.sgml">
%version;
%version;
<!entity % filelist SYSTEM "filelist.sgml">
<!entity % filelist SYSTEM "filelist.sgml">
%filelist;
%filelist;
<!entity % set-of-books "INCLUDE">
<!entity % single-book "IGNORE">
<!entity % entities SYSTEM "entities.sgml">
%entities;
<!entity admin SYSTEM "admin.sgml">
<!entity developer SYSTEM "developer.sgml">
<!entity programmer SYSTEM "programmer.sgml">
<!entity reference SYSTEM "reference.sgml">
<!entity reference SYSTEM "reference.sgml">
<!entity tutorial SYSTEM "tutorial.sgml">
<!entity user SYSTEM "user.sgml">
]>
]>
<
set
id="postgres">
<
book
id="postgres">
<title>PostgreSQL &version; Documentation</title>
<title>PostgreSQL &version; Documentation</title>
<
set
info>
<
book
info>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
&legal;
</setinfo>
</bookinfo>
<preface id="preface">
<title>Preface</title>
&intro;
&history;
¬ation;
&problems;
</preface>
<part id="tutorial">
<title>Tutorial</title>
<partintro>
<para>
Welcome to <productname>PostgreSQL</productname> Tutorial. The
following few chapters are intended to give a simple introduction
to <productname>PostgreSQL</productname>, relational database
concepts, and the SQL language to those who are new to any one of
these aspects. We only assume some general knowledge about how to
use computers. No particular Unix or programming experience is
required. This part is mainly intended to give you a hands-on
experience with important aspects of the
<productname>PostgreSQL</productname> system. It makes no attempt
to be a complete or thorough treatment of the topics it covers.
</para>
<para>
After you have worked through this tutorial you might want to move
on to reading <xref linkend="sql"> to gain a more formal knowledge
of the SQL language, or <xref linkend="client-interfaces"> for
information about developing applications for
<productname>PostgreSQL</productname>. Those who set up and
manage their own server should also read <xref linkend="admin">.
</para>
</partintro>
&start;
&query;
&advanced;
</part>
<part id="sql">
<title>The SQL Language</title>
<partintro>
<para>
This part describes the use of the <acronym>SQL</acronym> language
in <productname>PostgreSQL</productname>. We start with
describing the general syntax of <acronym>SQL</acronym>, then
explain how to create the structures to hold data, how to populate
the database, and how to query it. The middle part lists the
available data types and functions for use in
<acronym>SQL</acronym> data commands. The rest treats several
aspects that are important for tuning a database for optimal
performance.
</para>
<para>
The information in this part is arranged so that a novice user can
follow it start to end to 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 in this
part is presented in a narrative fashion in topical units.
Readers looking for a complete description of a particular command
should look into <xref linkend="reference">.
</para>
<para>
Readers of this book should know how to connect to a
<productname>PostgreSQL</> database and issue
<acronym>SQL</acronym> commands. Readers that are unfamiliar with
these issues are encouraged to read <xref linkend="tutorial">
first. <acronym>SQL</acronym> commands are typically entered
using the <productname>PostgreSQL</> interactive terminal
<application>psql</application>, but other programs that have
similar functionality can be used as well.
</para>
</partintro>
&syntax;
&ddl;
&dml;
&queries;
&datatype;
&func;
&typeconv;
&indices;
&mvcc;
&perform;
</part>
<part id="admin">
<title>Server Administration</title>
<partintro>
<para>
This part covers topics that are of interest to a
<productname>PostgreSQL</> database administrator. This includes
installation of the software, set up and configuration of the
server, management of users and databases, and maintenance tasks.
Anyone who runs a <productname>PostgreSQL</> server, either for
personal use, but especially in production, should be familiar
with the topics covered in this part.
</para>
<para>
The information in this part is arranged approximately in the
order in which a new user should read it. But the chapters are
self-contained and can be read individually as desired. The
information in this part is presented in a narrative fashion in
topical units. Readers looking for a complete description of a
particular command should look into <xref linkend="reference">.
</para>
<para>
The first few chapters are written so that they can be understood
without prerequisite knowledge, so that new users who need to set
up their own server can begin their exploration with this part.
The rest of this part which is about tuning and management
presupposes that the reader is familiar with the general use of
the <productname>PostgreSQL</> database system. Readers are
encouraged to look at <xref linkend="tutorial"> and <xref
linkend="sql"> for additional information.
</para>
</partintro>
&installation;
&installw;
&runtime;
&user-manag;
&manage-ag;
&client-auth;
&charset;
&maintenance;
&backup;
&monitoring;
&diskusage;
&wal;
®ress;
</part>
<part id="client-interfaces">
<title>Client Interfaces</title>
<partintro>
<para>
This part describes the client programming interfaces distributed
with <productname>PostgreSQL</>. Each of these chapters can be
read independently. Note that there are many other programming
interfaces for client programs that are distributed separately and
contain their own documentation. Readers of this part should be
familiar with using <acronym>SQL</acronym> commands to manipulate
and query the database (see <xref linkend="sql">) and of course
with the programming language that the interface uses.
</para>
</partintro>
&libpq;
&lobj;
&libpgtcl;
&ecpg;
&jdbc;
&pygresql;
</part>
<part id="server-programming">
<title>Server Programming</title>
<partintro>
<para>
This part is about extending the server functionality with
user-defined functions, data types, triggers, etc. These are
advanced topics which should probably be approached only after all
the other user documentation about <productname>PostgreSQL</> has
been understood. This part also describes the server-side
programming languages available in the
<productname>PostgreSQL</productname> distribution as well as
general issues concerning server-side programming languages. This
information is only useful to readers that have read at least the
first few chapters of this part.
</para>
</partintro>
&arch-pg;
&extend;
&xfunc;
&xtypes;
&xoper;
&xaggr;
&rules;
&xindex;
&indexcost;
&trigger;
&spi;
&xplang;
&plsql;
&pltcl;
&plperl;
&plpython;
</part>
&tutorial;
&user;
&admin;
&programmer;
&reference;
&reference;
&developer;
&setindex;
<part id="internals">
<title>Internals</title>
</set>
<partintro>
<!-- Keep this comment at the end of the file
<para>
Local variables:
This part contains assorted information that can be of use to
mode:sgml
<productname>PostgreSQL</> developers.
sgml-omittag:nil
</para>
sgml-shorttag:t
</partintro>
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
&sources;
sgml-indent-step:1
&arch-dev;
sgml-indent-tabs-mode:nil
&catalogs;
sgml-indent-data:t
&protocol;
sgml-parent-document:nil
&compiler;
sgml-default-dtd-file:"./reference.ced"
&bki;
sgml-exposed-tags:nil
&page;
sgml-local-catalogs:("/usr/share/sgml/catalog")
&geqo;
sgml-local-ecat-files:nil
&gist;
End:
&nls;
-->
</part>
<part id="appendixes">
<title>Appendixes</title>
&datetime;
&keywords;
&features;
&release;
&cvs;
&docguide;
</part>
&biblio;
&bookindex;
</book>
doc/src/sgml/programmer.sgml
deleted
100644 → 0
View file @
685a4934
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/programmer.sgml,v 1.44 2002/11/15 03:11:17 momjian Exp $
PostgreSQL Programmer's Guide.
-->
<book id="programmer">
<title>PostgreSQL &version; Programmer's Guide</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
</bookinfo>
<preface id="programmer-preface">
<title>Preface</title>
<![%single-book;[
&intro;
&history;
]]>
<sect1 id="programmer-preface-thisbook">
<title>What's In This Book</title>
<para>
This book is for <productname>PostgreSQL</> application
programmers. It is divided into three parts.
</para>
<para>
The first part of this book describes the client programming
interfaces distributed with <productname>PostgreSQL</>. Each of
these chapters can be read independently. Note that there are
many other programming interfaces for client programs that are
distributed separately and contain their own documentation.
Readers of the first part should be familiar with using
<acronym>SQL</acronym> commands to manipulate and query the
database (see the &cite-user;) and of course with the programming
language that the interface uses.
</para>
<para>
The second part of this book is about extending the server
functionality with user-defined functions, data types, triggers,
etc. These are advanced topics which should probably be
approached only after all the other user documentation about
<productname>PostgreSQL</> has been understood.
</para>
<para>
The third part of this book described the available server-side
programming languages. This information is related to the second
part and is only useful to readers that have read at least the
first few chapters thereof.
</para>
<para>
This book covers <productname>PostgreSQL &version;</productname>
only. For information on other versions, please read the
documentation that accompanies that release.
</para>
</sect1>
<![%single-book[
&info;
¬ation;
&problems;
]]>
</preface>
<part id="programmer-client">
<title>Client Interfaces</title>
<partintro>
<para>
This part of the manual is the description of the client-side
programming interfaces and support libraries for various
languages.
</para>
</partintro>
&libpq;
&lobj;
&libpgtcl;
&ecpg;
&jdbc;
&pygresql;
</part>
<part id="programmer-server">
<title>Server Programming</title>
<partintro>
<para>
This second part of the manual explains the
<productname>PostgreSQL</productname> approach to extensibility
and describe how users can extend
<productname>PostgreSQL</productname> by adding user-defined
types, operators, aggregates, and both query language and
programming language functions. After a discussion of the
<productname>PostgreSQL</productname> rule system, we discuss the
trigger and SPI interfaces.
</para>
</partintro>
&arch-pg;
&extend;
&xfunc;
&xtypes;
&xoper;
&xaggr;
&rules;
&xindex;
&indexcost;
&trigger;
&spi;
</part>
<part id="programmer-pl">
<title>Procedural Languages</title>
<partintro>
<para>
This part documents the procedural languages available in the
<productname>PostgreSQL</productname> distribution as well as
general issues concerning procedural languages.
</para>
</partintro>
&xplang;
&plsql;
&pltcl;
&plperl;
&plpython;
</part>
<![%single-book;[
&biblio;
&bookindex;
]]>
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode:sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"./reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:("/usr/lib/sgml/catalog")
sgml-local-ecat-files:nil
End:
-->
doc/src/sgml/query.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/query.sgml,v 1.
29 2003/03/13 01:30:29
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/query.sgml,v 1.
30 2003/03/25 16:15:38
petere Exp $
-->
-->
<chapter id="tutorial-sql">
<chapter id="tutorial-sql">
...
@@ -259,7 +259,7 @@ COPY weather FROM '/home/user/weather.txt';
...
@@ -259,7 +259,7 @@ COPY weather FROM '/home/user/weather.txt';
where the file name for the source file must be available to the
where the file name for the source file must be available to the
backend server machine, not the client, since the backend server
backend server machine, not the client, since the backend server
reads the file directly. You can read more about the
reads the file directly. You can read more about the
<command>COPY</command> command in
the &cite-reference;
.
<command>COPY</command> command in
<xref linkend="sql-copy">
.
</para>
</para>
</sect1>
</sect1>
...
@@ -692,7 +692,7 @@ SELECT city, max(temp_lo)
...
@@ -692,7 +692,7 @@ SELECT city, max(temp_lo)
<callout arearefs="co.tutorial-agg-like">
<callout arearefs="co.tutorial-agg-like">
<para>
<para>
The <literal>LIKE</literal> operator does pattern matching and
The <literal>LIKE</literal> operator does pattern matching and
is explained in
the &cite-user;
.
is explained in
<xref linkend="functions-matching">
.
</para>
</para>
</callout>
</callout>
</calloutlist>
</calloutlist>
...
...
doc/src/sgml/ref/alter_database.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_database.sgml,v 1.
4 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_database.sgml,v 1.
5 2003/03/25 16:15:38 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -70,8 +70,8 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET <replacea
...
@@ -70,8 +70,8 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET <replacea
</para>
</para>
<para>
<para>
See <xref linkend="sql-set" endterm="sql-set-title"> and
the
See <xref linkend="sql-set" endterm="sql-set-title"> and
<xref linkend="runtime-config">
&cite-admin;
for more information about allowed variable names
for more information about allowed variable names
and values.
and values.
</para>
</para>
</listitem>
</listitem>
...
...
doc/src/sgml/ref/alter_table.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.5
7 2003/03/20 18:52:47 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.5
8 2003/03/25 16:15:38 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -437,7 +437,7 @@ VACUUM FULL table;
...
@@ -437,7 +437,7 @@ VACUUM FULL table;
<para>
<para>
Refer to <command>CREATE TABLE</command> for a further description
Refer to <command>CREATE TABLE</command> for a further description
of valid arguments.
The &cite-user;
has further information on
of valid arguments.
<xref linkend="ddl">
has further information on
inheritance.
inheritance.
</para>
</para>
</refsect2>
</refsect2>
...
...
doc/src/sgml/ref/alter_user.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.2
5 2003/03/20 20:05:32 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.2
6 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -145,8 +145,8 @@ ALTER USER <replaceable class="PARAMETER">username</replaceable> RESET <replacea
...
@@ -145,8 +145,8 @@ ALTER USER <replaceable class="PARAMETER">username</replaceable> RESET <replacea
</para>
</para>
<para>
<para>
See <xref linkend="sql-set" endterm="sql-set-title"> and
the
See <xref linkend="sql-set" endterm="sql-set-title"> and
<xref linkend="runtime-config">
&cite-admin;
for more information about allowed variable names
for more information about allowed variable names
and values.
and values.
</para>
</para>
</listitem>
</listitem>
...
...
doc/src/sgml/ref/analyze.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/analyze.sgml,v 1.1
0 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/analyze.sgml,v 1.1
1 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -152,7 +152,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
...
@@ -152,7 +152,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ (<rep
<command>ANALYZE</command> deems them uninteresting (for example, in
<command>ANALYZE</command> deems them uninteresting (for example, in
a unique-key column, there are no common values) or if the column
a unique-key column, there are no common values) or if the column
data type does not support the appropriate operators. There is more
data type does not support the appropriate operators. There is more
information about the statistics in
the &cite-user;
.
information about the statistics in
<xref linkend="maintenance">
.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/begin.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/begin.sgml,v 1.2
1 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/begin.sgml,v 1.2
2 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -121,7 +121,7 @@ WARNING: BEGIN: already a transaction in progress
...
@@ -121,7 +121,7 @@ WARNING: BEGIN: already a transaction in progress
<command>SET TRANSACTION ISOLATION LEVEL SERIALIZABLE</command>
<command>SET TRANSACTION ISOLATION LEVEL SERIALIZABLE</command>
just after <command>BEGIN</command> if you need more rigorous transaction
just after <command>BEGIN</command> if you need more rigorous transaction
isolation. (Alternatively, you can change the default transaction
isolation. (Alternatively, you can change the default transaction
isolation level; see
the &cite-admin;
for details.)
isolation level; see
<xref linkend="runtime-config">
for details.)
In SERIALIZABLE mode queries will see only changes committed before
In SERIALIZABLE mode queries will see only changes committed before
the entire
the entire
transaction began (actually, before execution of the first <acronym>DML</> statement
transaction began (actually, before execution of the first <acronym>DML</> statement
...
...
doc/src/sgml/ref/checkpoint.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/checkpoint.sgml,v 1.
7 2003/01/19 00:13:29 momjian
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/checkpoint.sgml,v 1.
8 2003/03/25 16:15:39 petere
Exp $ -->
<refentry id="sql-checkpoint">
<refentry id="sql-checkpoint">
<refmeta>
<refmeta>
...
@@ -34,7 +34,7 @@ CHECKPOINT
...
@@ -34,7 +34,7 @@ CHECKPOINT
A checkpoint is a point in the transaction log sequence at which
A checkpoint is a point in the transaction log sequence at which
all data files have been updated to reflect the information in the
all data files have been updated to reflect the information in the
log. All data files will be flushed to disk. Refer to the
log. All data files will be flushed to disk. Refer to the
&cite-admin;
for more information about the WAL system.
<xref linkend="wal">
for more information about the WAL system.
</para>
</para>
<para>
<para>
...
@@ -43,14 +43,6 @@ CHECKPOINT
...
@@ -43,14 +43,6 @@ CHECKPOINT
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
&cite-admin;
</para>
</refsect1>
<refsect1>
<refsect1>
<title>Compatibility</title>
<title>Compatibility</title>
...
...
doc/src/sgml/ref/cluster.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.2
4 2003/02/19 04:06:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.2
5 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -126,8 +126,8 @@ CLUSTER
...
@@ -126,8 +126,8 @@ CLUSTER
When a table is being clustered, an <literal>ACCESS
When a table is being clustered, an <literal>ACCESS
EXCLUSIVE</literal> lock is acquired on it. This prevents any other
EXCLUSIVE</literal> lock is acquired on it. This prevents any other
database operations (both reads and writes) from preceding on the
database operations (both reads and writes) from preceding on the
table until the <command>CLUSTER</command> is finished. See
the
table until the <command>CLUSTER</command> is finished. See
&cite-user;
for more information on database locking.
<xref linkend="explicit-locking">
for more information on database locking.
</para>
</para>
<refsect2 id="R2-SQL-CLUSTER-3">
<refsect2 id="R2-SQL-CLUSTER-3">
...
...
doc/src/sgml/ref/create_aggregate.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.2
3 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.2
4 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -267,12 +267,10 @@ CREATE AGGREGATE
...
@@ -267,12 +267,10 @@ CREATE AGGREGATE
</refsect1>
</refsect1>
<refsect1 id="R1-SQL-CREATEAGGREGATE-2">
<refsect1 id="R1-SQL-CREATEAGGREGATE-2">
<title>
<title>Examples</title>
Usage
</title>
<para>
<para>
Refer to the chapter on aggregate functions in the
See <xref linkend="xaggr">.
&cite-programmer; for complete examples of usage.
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_cast.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.
9 2003/02/01 22:09:25 tgl
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.
10 2003/03/25 16:15:39 petere
Exp $ -->
<refentry id="SQL-CREATECAST">
<refentry id="SQL-CREATECAST">
<refmeta>
<refmeta>
...
@@ -240,8 +240,7 @@ CREATE CAST (text AS int4) WITH FUNCTION int4(text);
...
@@ -240,8 +240,7 @@ CREATE CAST (text AS int4) WITH FUNCTION int4(text);
<para>
<para>
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">,
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">,
<xref linkend="sql-createtype" endterm="sql-createtype-title">,
<xref linkend="sql-createtype" endterm="sql-createtype-title">,
<xref linkend="sql-dropcast" endterm="sql-dropcast-title">,
<xref linkend="sql-dropcast" endterm="sql-dropcast-title">
&cite-programmer;
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_conversion.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.
6 2003/01/19 00:13:29 momjian
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.
7 2003/03/25 16:15:39 petere
Exp $ -->
<refentry id="SQL-CREATECONVERSION">
<refentry id="SQL-CREATECONVERSION">
<refmeta>
<refmeta>
...
@@ -157,8 +157,7 @@ CREATE CONVERSION myconv FOR 'UNICODE' TO 'LATIN1' FROM myfunc;
...
@@ -157,8 +157,7 @@ CREATE CONVERSION myconv FOR 'UNICODE' TO 'LATIN1' FROM myfunc;
<para>
<para>
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">,
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">,
<xref linkend="sql-dropconversion" endterm="sql-dropconversion-title">,
<xref linkend="sql-dropconversion" endterm="sql-dropconversion-title">
&cite-programmer;
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_database.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.3
2 2003/02/13 05:37:43 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.3
3 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -259,7 +259,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
...
@@ -259,7 +259,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
specified with absolute path names, and by default
specified with absolute path names, and by default
only an environment variable known to the backend may be
only an environment variable known to the backend may be
specified for an alternate location.
specified for an alternate location.
See
the Administrator's Guide
for more information.
See
<xref linkend="manage-ag-alternate-locs">
for more information.
</para>
</para>
<!--
<!--
...
@@ -280,7 +280,7 @@ comment from Olly; response from Thomas...
...
@@ -280,7 +280,7 @@ comment from Olly; response from Thomas...
by specifying its name as the template, this is not (yet) intended as
by specifying its name as the template, this is not (yet) intended as
a general-purpose COPY DATABASE facility.
a general-purpose COPY DATABASE facility.
We recommend that databases used as templates be treated as read-only.
We recommend that databases used as templates be treated as read-only.
See
the &cite-admin;
for more information.
See
<xref linkend="user-manag">
for more information.
</para>
</para>
</refsect2>
</refsect2>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_domain.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.1
1 2003/02/13 05:32:42 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.1
2 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -58,8 +58,6 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
...
@@ -58,8 +58,6 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
<para>
<para>
The underlying data type of the domain. This may include array
The underlying data type of the domain. This may include array
specifiers.
specifiers.
Refer to the &cite-user; for further
information about data types and arrays.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -224,7 +222,6 @@ CREATE TABLE countrylist (id INT4, country country_code);
...
@@ -224,7 +222,6 @@ CREATE TABLE countrylist (id INT4, country country_code);
<simplelist type="inline">
<simplelist type="inline">
<member><xref linkend="sql-dropdomain" endterm="sql-dropdomain-title"></member>
<member><xref linkend="sql-dropdomain" endterm="sql-dropdomain-title"></member>
<member>&cite-programmer;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_function.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.4
5 2003/03/20 04:41:13 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.4
6 2003/03/25 16:15:39 petere
Exp $
-->
-->
<refentry id="SQL-CREATEFUNCTION">
<refentry id="SQL-CREATEFUNCTION">
...
@@ -289,10 +289,8 @@ CREATE [ OR REPLACE ] FUNCTION <replaceable class="parameter">name</replaceable>
...
@@ -289,10 +289,8 @@ CREATE [ OR REPLACE ] FUNCTION <replaceable class="parameter">name</replaceable>
<title>Notes</title>
<title>Notes</title>
<para>
<para>
Refer to the chapter in the &cite-programmer;
Refer to <xref linkend="xfunc"> for further information on writing
on the topic of extending
external functions.
<productname>PostgreSQL</productname> via functions
for further information on writing external functions.
</para>
</para>
<para>
<para>
...
@@ -476,8 +474,7 @@ Point * complex_to_point (Complex *z)
...
@@ -476,8 +474,7 @@ Point * complex_to_point (Complex *z)
<xref linkend="sql-grant" endterm="sql-grant-title">,
<xref linkend="sql-grant" endterm="sql-grant-title">,
<xref linkend="sql-load" endterm="sql-load-title">,
<xref linkend="sql-load" endterm="sql-load-title">,
<xref linkend="sql-revoke" endterm="sql-revoke-title">,
<xref linkend="sql-revoke" endterm="sql-revoke-title">,
<xref linkend="app-createlang">,
<xref linkend="app-createlang">
&cite-programmer;
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_group.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_group.sgml,v 1.
9 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_group.sgml,v 1.
10 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -108,8 +108,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
...
@@ -108,8 +108,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
</title>
</title>
<para>
<para>
<command>CREATE GROUP</command> will create a new group in the
<command>CREATE GROUP</command> will create a new group in the
database installation. Refer to the &cite-admin; for information
database installation. You must be a database
about using groups for authentication. You must be a database
superuser to use this command.
superuser to use this command.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/create_language.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.3
0 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.3
1 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -37,7 +37,7 @@ CREATE [ TRUSTED ] [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">langna
...
@@ -37,7 +37,7 @@ CREATE [ TRUSTED ] [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">langna
<para>
<para>
<command>CREATE LANGUAGE</command> effectively associates the
<command>CREATE LANGUAGE</command> effectively associates the
language name with a call handler that is responsible for executing
language name with a call handler that is responsible for executing
functions written in the language. Refer to
the &cite-programmer;
functions written in the language. Refer to
<xref linkend="xfunc">
for more information about language call handlers.
for more information about language call handlers.
</para>
</para>
...
@@ -300,7 +300,6 @@ CREATE LANGUAGE plsample
...
@@ -300,7 +300,6 @@ CREATE LANGUAGE plsample
<member><xref linkend="sql-droplanguage" endterm="sql-droplanguage-title"></member>
<member><xref linkend="sql-droplanguage" endterm="sql-droplanguage-title"></member>
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member>
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member>
<member>&cite-programmer;</member>
</simplelist>
</simplelist>
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_opclass.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.
5 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.
6 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -223,8 +223,7 @@ CREATE OPERATOR CLASS
...
@@ -223,8 +223,7 @@ CREATE OPERATOR CLASS
</para>
</para>
<para>
<para>
Refer to the chapter on interfacing extensions to indexes in the
Refer to <xref linkend="xindex"> for further information.
&cite-programmer; for further information.
</para>
</para>
<refsect2 id="R2-SQL-CREATEOPCLASS-3">
<refsect2 id="R2-SQL-CREATEOPCLASS-3">
...
...
doc/src/sgml/ref/create_operator.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.3
3 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.3
4 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -436,9 +436,8 @@ MYBOXES.description === box '((0,0), (1,1))'
...
@@ -436,9 +436,8 @@ MYBOXES.description === box '((0,0), (1,1))'
Notes
Notes
</title>
</title>
<para>
<para>
Refer to the chapter on operators in the &cite-user;
Refer to <xref linkend="xoper"> for further information.
for further information.
Use <command>DROP OPERATOR</command> to delete
Refer to <command>DROP OPERATOR</command> to delete
user-defined operators from a database.
user-defined operators from a database.
</para>
</para>
...
...
doc/src/sgml/ref/create_sequence.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.3
1 2003/03/20 07:02:07 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.3
2 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -260,7 +260,7 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
...
@@ -260,7 +260,7 @@ ERROR: DefineSequence: MINVALUE (<replaceable class="parameter">min</replaceabl
<function>currval</function> and
<function>currval</function> and
<function>setval</function>
<function>setval</function>
to operate on the sequence. These functions are documented in
to operate on the sequence. These functions are documented in
the &cite-user;
.
<xref linkend="functions-sequence">
.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/create_table.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.6
2 2003/02/19 03:13:25 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.6
3 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -147,8 +147,6 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
...
@@ -147,8 +147,6 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
<listitem>
<listitem>
<para>
<para>
The data type of the column. This may include array specifiers.
The data type of the column. This may include array specifiers.
Refer to the &cite-user; for further information about data
types and arrays.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/src/sgml/ref/create_trigger.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.3
2 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.3
3 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -202,8 +202,7 @@ CREATE TRIGGER
...
@@ -202,8 +202,7 @@ CREATE TRIGGER
</para>
</para>
<para>
<para>
Refer to the chapters on SPI and Triggers in the &cite-programmer;
Refer to <xref linkend="server-programming"> for more information.
for more information.
</para>
</para>
</refsect1>
</refsect1>
...
@@ -348,7 +347,6 @@ CREATE TABLE distributors (
...
@@ -348,7 +347,6 @@ CREATE TABLE distributors (
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member>
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member>
<member><xref linkend="sql-altertrigger" endterm="sql-altertrigger-title"></member>
<member><xref linkend="sql-altertrigger" endterm="sql-altertrigger-title"></member>
<member><xref linkend="sql-droptrigger" endterm="sql-droptrigger-title"></member>
<member><xref linkend="sql-droptrigger" endterm="sql-droptrigger-title"></member>
<member>&cite-programmer;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
</refentry>
</refentry>
...
...
doc/src/sgml/ref/create_type.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.
39 2003/02/19 03:13:25 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.
40 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -469,7 +469,6 @@ CREATE FUNCTION getfoo() RETURNS SETOF compfoo AS 'SELECT fooid, fooname FROM fo
...
@@ -469,7 +469,6 @@ CREATE FUNCTION getfoo() RETURNS SETOF compfoo AS 'SELECT fooid, fooname FROM fo
<simplelist type="inline">
<simplelist type="inline">
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member>
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member>
<member><xref linkend="sql-droptype" endterm="sql-droptype-title"></member>
<member><xref linkend="sql-droptype" endterm="sql-droptype-title"></member>
<member>&cite-programmer;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/create_user.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_user.sgml,v 1.2
4 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_user.sgml,v 1.2
5 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -34,7 +34,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
...
@@ -34,7 +34,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
<para>
<para>
<command>CREATE USER</command> will add a new user to an instance
<command>CREATE USER</command> will add a new user to an instance
of <productname>PostgreSQL</productname>. Refer to
the &cite-admin;
of <productname>PostgreSQL</productname>. Refer to
<xref linkend="user-manag">
for information about managing users and authentication. You must
for information about managing users and authentication. You must
be a database superuser to use this command.
be a database superuser to use this command.
</para>
</para>
...
@@ -101,7 +101,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
...
@@ -101,7 +101,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be:
</para>
</para>
<para>
<para>
See
the chapter on client authentication in the &cite-admin;
See
<xref linkend="client-authentication">
for details on how to set up authentication mechanisms. Note
for details on how to set up authentication mechanisms. Note
that older clients may lack support for the MD5 authentication
that older clients may lack support for the MD5 authentication
mechanism that is needed to work with passwords that are
mechanism that is needed to work with passwords that are
...
...
doc/src/sgml/ref/drop_aggregate.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_aggregate.sgml,v 1.2
0 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_aggregate.sgml,v 1.2
1 2003/03/25 16:15:39 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -47,7 +47,6 @@ DROP AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( <replaceable
...
@@ -47,7 +47,6 @@ DROP AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( <replaceable
<para>
<para>
The input data type of the aggregate function,
The input data type of the aggregate function,
or <literal>*</literal> if the function accepts any input type.
or <literal>*</literal> if the function accepts any input type.
(Refer to the &cite-user; for further information about data types.)
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/src/sgml/ref/ecpg-ref.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.2
5 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.2
6 2003/03/25 16:15:39
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -49,7 +49,7 @@ PostgreSQL documentation
...
@@ -49,7 +49,7 @@ PostgreSQL documentation
<para>
<para>
This reference page does not describe the embedded SQL language.
This reference page does not describe the embedded SQL language.
See
the &cite-programmer;
for more information on that topic.
See
<xref linkend="ecpg">
for more information on that topic.
</para>
</para>
</refsect1>
</refsect1>
...
@@ -191,16 +191,6 @@ cc -o prog1 prog1.o -L/usr/local/pgsql/lib -lecpg
...
@@ -191,16 +191,6 @@ cc -o prog1 prog1.o -L/usr/local/pgsql/lib -lecpg
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
&cite-programmer; for a more detailed description of the embedded
SQL interface
</para>
</refsect1>
</refentry>
</refentry>
<!-- Keep this comment at the end of the file
<!-- Keep this comment at the end of the file
...
...
doc/src/sgml/ref/explain.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/explain.sgml,v 1.2
4 2003/03/10 03:53:49 tgl
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/explain.sgml,v 1.2
5 2003/03/25 16:15:41 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -188,7 +188,7 @@ ROLLBACK;
...
@@ -188,7 +188,7 @@ ROLLBACK;
<para>
<para>
There is only sparse documentation on the optimizer's use of cost
There is only sparse documentation on the optimizer's use of cost
information in <productname>PostgreSQL</productname>.
information in <productname>PostgreSQL</productname>.
Refer to
the &cite-user; and &cite-programmer;
for more information.
Refer to
<xref linkend="using-explain">
for more information.
</para>
</para>
</refsect2>
</refsect2>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/initdb.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/initdb.sgml,v 1.2
5 2003/03/24 14:32:5
1 petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/initdb.sgml,v 1.2
6 2003/03/25 16:15:4
1 petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -251,7 +251,6 @@ PostgreSQL documentation
...
@@ -251,7 +251,6 @@ PostgreSQL documentation
<simplelist type="inline">
<simplelist type="inline">
<member><xref linkend="app-postgres"></member>
<member><xref linkend="app-postgres"></member>
<member><xref linkend="app-postmaster"></member>
<member><xref linkend="app-postmaster"></member>
<member>&cite-admin;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/initlocation.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.
19 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/initlocation.sgml,v 1.
20 2003/03/25 16:15:42
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -65,14 +65,6 @@ PostgreSQL documentation
...
@@ -65,14 +65,6 @@ PostgreSQL documentation
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>See Also</title>
<simplelist type="inline">
<member>&cite-admin;</member>
</simplelist>
</refsect1>
</refentry>
</refentry>
<!-- Keep this comment at the end of the file
<!-- Keep this comment at the end of the file
...
...
doc/src/sgml/ref/insert.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/insert.sgml,v 1.2
0 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/insert.sgml,v 1.2
1 2003/03/25 16:15:42 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -216,8 +216,7 @@ INSERT INTO films SELECT * FROM tmp;
...
@@ -216,8 +216,7 @@ INSERT INTO films SELECT * FROM tmp;
</para>
</para>
<para>
<para>
Insert into arrays (refer to the &cite-user; for further
Insert into arrays:
information about arrays):
<programlisting>
<programlisting>
-- Create an empty 3x3 gameboard for noughts-and-crosses
-- Create an empty 3x3 gameboard for noughts-and-crosses
...
...
doc/src/sgml/ref/load.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/load.sgml,v 1.1
5 2003/01/19 00:13:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/load.sgml,v 1.1
6 2003/03/25 16:15:42 petere
Exp $
-->
-->
<refentry id="SQL-LOAD">
<refentry id="SQL-LOAD">
...
@@ -37,7 +37,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>'
...
@@ -37,7 +37,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>'
The file name is specified in the same way as for shared library
The file name is specified in the same way as for shared library
names in <xref linkend="sql-createfunction" endterm="sql-createfunction-title">; in particular, one
names in <xref linkend="sql-createfunction" endterm="sql-createfunction-title">; in particular, one
may rely on a search path and automatic addition of the system's standard
may rely on a search path and automatic addition of the system's standard
shared library file name extension. See
the &cite-programmer;
for
shared library file name extension. See
<xref linkend="xfunc">
for
more information on this topic.
more information on this topic.
</para>
</para>
</refsect1>
</refsect1>
...
@@ -56,8 +56,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>'
...
@@ -56,8 +56,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>'
<title>See Also</title>
<title>See Also</title>
<para>
<para>
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">,
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">
&cite-programmer;
</para>
</para>
</refsect1>
</refsect1>
</refentry>
</refentry>
...
...
doc/src/sgml/ref/pg_config-ref.sgml
View file @
5e5c5cd3
<
!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_config-ref.sgml,v 1.1
4 2003/03/24 14:32:51
petere Exp $ -->
<
!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_config-ref.sgml,v 1.1
5 2003/03/25 16:15:42
petere Exp $ -->
<
refentry
id
=
"app-pgconfig"
>
<
refentry
id
=
"app-pgconfig"
>
<
refmeta
>
<
refmeta
>
...
@@ -154,15 +154,6 @@
...
@@ -154,15 +154,6 @@
<
productname
>
PostgreSQL
</>
7.1
.
<
productname
>
PostgreSQL
</>
7.1
.
</
para
>
</
para
>
</
refsect1
>
</
refsect1
>
<
refsect1
>
<
title
>
See
Also
</
title
>
<
para
>
&
cite
-
programmer
;
</
para
>
</
refsect1
>
</
refentry
>
</
refentry
>
<
!-- Keep this comment at the end of the file
<
!-- Keep this comment at the end of the file
...
...
doc/src/sgml/ref/pg_ctl-ref.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
1 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
2 2003/03/25 16:15:42
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -437,7 +437,7 @@ Command line was:
...
@@ -437,7 +437,7 @@ Command line was:
<title>See Also</title>
<title>See Also</title>
<para>
<para>
<xref linkend="app-postmaster">
, &cite-admin;
<xref linkend="app-postmaster">
</para>
</para>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/pg_dump.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.
59 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.
60 2003/03/25 16:15:42
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -713,7 +713,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -713,7 +713,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
<member><xref linkend="app-pg-dumpall"></member>
<member><xref linkend="app-pg-dumpall"></member>
<member><xref linkend="app-pgrestore"></member>
<member><xref linkend="app-pgrestore"></member>
<member><xref linkend="app-psql"></member>
<member><xref linkend="app-psql"></member>
<member>&cite-admin;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
...
...
doc/src/sgml/ref/pg_restore.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.3
7 2003/03/24 14:32:51
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.3
8 2003/03/25 16:15:43
petere Exp $ -->
<refentry id="APP-PGRESTORE">
<refentry id="APP-PGRESTORE">
<refmeta>
<refmeta>
...
@@ -654,7 +654,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -654,7 +654,6 @@ CREATE DATABASE foo WITH TEMPLATE template0;
<member><xref linkend="app-pgdump"></member>
<member><xref linkend="app-pgdump"></member>
<member><xref linkend="app-pg-dumpall"></member>
<member><xref linkend="app-pg-dumpall"></member>
<member><xref linkend="app-psql"></member>
<member><xref linkend="app-psql"></member>
<member>&cite-admin;</member>
</simplelist>
</simplelist>
</refsect1>
</refsect1>
</refentry>
</refentry>
...
...
doc/src/sgml/ref/pgtclsh.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.
7 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.
8 2003/03/25 16:15:43
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -55,7 +55,7 @@ PostgreSQL documentation
...
@@ -55,7 +55,7 @@ PostgreSQL documentation
<simplelist type="inline">
<simplelist type="inline">
<member><xref linkend="app-pgtksh"></member>
<member><xref linkend="app-pgtksh"></member>
<member>
<member>
&cite-programmer;
(description of <filename>libpgtcl</filename>)
<xref linkend="pgtcl">
(description of <filename>libpgtcl</filename>)
</member>
</member>
<member>
<member>
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
...
...
doc/src/sgml/ref/pgtksh.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.
7 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.
8 2003/03/25 16:15:43
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -55,7 +55,7 @@ PostgreSQL documentation
...
@@ -55,7 +55,7 @@ PostgreSQL documentation
<simplelist type="inline">
<simplelist type="inline">
<member><xref linkend="app-pgtclsh"></member>
<member><xref linkend="app-pgtclsh"></member>
<member>
<member>
&cite-programmer;
(description of <filename>libpgtcl</filename>)
<xref linkend="pgtcl">
(description of <filename>libpgtcl</filename>)
</member>
</member>
<member>
<member>
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
...
...
doc/src/sgml/ref/postgres-ref.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.3
1 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.3
2 2003/03/25 16:15:43
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -123,7 +123,7 @@ PostgreSQL documentation
...
@@ -123,7 +123,7 @@ PostgreSQL documentation
<para>
<para>
You can avoid having to type these options by setting up a
You can avoid having to type these options by setting up a
configuration file. See
the &cite-admin;
for details. Some
configuration file. See
<xref linkend="runtime-config">
for details. Some
(safe) options can also be set from the connecting client in an
(safe) options can also be set from the connecting client in an
application-dependent way. For example, if the environment
application-dependent way. For example, if the environment
variable <envar>PGOPTIONS</envar> is set, then
variable <envar>PGOPTIONS</envar> is set, then
...
@@ -153,7 +153,7 @@ PostgreSQL documentation
...
@@ -153,7 +153,7 @@ PostgreSQL documentation
means that the <quote>day before month</quote> (rather than
means that the <quote>day before month</quote> (rather than
month before day) rule is used to interpret ambiguous date
month before day) rule is used to interpret ambiguous date
input, and that the day is printed before the month in certain
input, and that the day is printed before the month in certain
date output formats. See
the &cite-user;
for more information.
date output formats. See
<xref linkend="datatype-datetime">
for more information.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/src/sgml/ref/postmaster.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.3
5 2003/03/24 14:32:51
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.3
6 2003/03/25 16:15:43
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -80,7 +80,7 @@ PostgreSQL documentation
...
@@ -80,7 +80,7 @@ PostgreSQL documentation
<para>
<para>
<command>postmaster</command> accepts the following
<command>postmaster</command> accepts the following
command line arguments. For a detailed discussion of the options
command line arguments. For a detailed discussion of the options
consult
the &cite-admin;
. You can also save typing most of these
consult
<xref linkend="runtime-config">
. You can also save typing most of these
options by setting up a configuration file.
options by setting up a configuration file.
<variablelist>
<variablelist>
...
@@ -110,7 +110,7 @@ PostgreSQL documentation
...
@@ -110,7 +110,7 @@ PostgreSQL documentation
<term><option>-c <replaceable>name</replaceable>=<replaceable>value</replaceable></option></term>
<term><option>-c <replaceable>name</replaceable>=<replaceable>value</replaceable></option></term>
<listitem>
<listitem>
<para>
<para>
Sets a named run-time parameter. Consult
the &cite-admin;
for
Sets a named run-time parameter. Consult
<xref linkend="runtime-config">
for
a list and descriptions. Most of the other command line
a list and descriptions. Most of the other command line
options are in fact short forms of such a parameter
options are in fact short forms of such a parameter
assignment. <option>-c</> can appear multiple times to set
assignment. <option>-c</> can appear multiple times to set
...
@@ -218,7 +218,7 @@ PostgreSQL documentation
...
@@ -218,7 +218,7 @@ PostgreSQL documentation
default, this value is 32, but it can be set as high as your
default, this value is 32, but it can be set as high as your
system will support. (Note that
system will support. (Note that
<option>-B</option> is required to be at least twice
<option>-B</option> is required to be at least twice
<option>-N</option>. See
the &cite-admin;
for a discussion of
<option>-N</option>. See
<xref linkend="kernel-resources">
for a discussion of
system resource requirements for large numbers of client
system resource requirements for large numbers of client
connections.)
connections.)
</para>
</para>
...
@@ -404,7 +404,7 @@ PostgreSQL documentation
...
@@ -404,7 +404,7 @@ PostgreSQL documentation
<listitem>
<listitem>
<para>
<para>
Other environment variables may be used to designate alternative
Other environment variables may be used to designate alternative
data storage locations. See
the &cite-admin;
for more
data storage locations. See
<xref linkend="manage-ag-alternate-locs">
for more
information.
information.
</para>
</para>
</listitem>
</listitem>
...
@@ -423,7 +423,7 @@ PostgreSQL documentation
...
@@ -423,7 +423,7 @@ PostgreSQL documentation
<listitem>
<listitem>
<para>
<para>
If you see this message, you probably need to configure
If you see this message, you probably need to configure
your kernel for shared memory and semaphores as described in
the &cite-admin;
.
your kernel for shared memory and semaphores as described in
<xref linkend="kernel-resources">
.
If you run multiple instances of
If you run multiple instances of
<command>postmaster</command>
<command>postmaster</command>
on a single host, or have a kernel with particularly small shared memory
on a single host, or have a kernel with particularly small shared memory
...
...
doc/src/sgml/ref/psql-ref.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.8
7 2003/03/24 18:33:52 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.8
8 2003/03/25 16:15:43 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -2489,16 +2489,6 @@ Field separator is "oo".
...
@@ -2489,16 +2489,6 @@ Field separator is "oo".
<refsect1 id="APP-PSQL-examples">
<refsect1 id="APP-PSQL-examples">
<title id="APP-PSQL-examples-title">Examples</title>
<title id="APP-PSQL-examples-title">Examples</title>
<note>
<para>
This section only shows a few examples specific to
<application>psql</application>. If you want to learn
<acronym>SQL</acronym> or get familiar with
<productname>PostgreSQL</productname>, you might wish to read the
&cite-tutorial;.
</para>
</note>
<para>
<para>
The first example shows how to spread a command over several lines of
The first example shows how to spread a command over several lines of
input. Notice the changing prompt:
input. Notice the changing prompt:
...
...
doc/src/sgml/ref/reindex.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reindex.sgml,v 1.1
5 2003/02/19 04:06:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reindex.sgml,v 1.1
6 2003/03/25 16:15:43 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -139,8 +139,7 @@ REINDEX
...
@@ -139,8 +139,7 @@ REINDEX
under certain access patterns. <command>REINDEX</command>
under certain access patterns. <command>REINDEX</command>
provides a way to reduce the space consumption of the index by
provides a way to reduce the space consumption of the index by
writing a new version of the index without the dead pages. See
writing a new version of the index without the dead pages. See
the <quote>Routine Reindexing</quote> section in the
<xref linkend="routine-reindex"> for more information. The rest of this reference page
&cite-admin; for more information. The rest of this section
mostly discusses how to use <command>REINDEX</command> to
mostly discusses how to use <command>REINDEX</command> to
recover from index corruption.
recover from index corruption.
</para>
</para>
...
...
doc/src/sgml/ref/reset.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reset.sgml,v 1.1
8 2003/01/19 00:13:31 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/reset.sgml,v 1.1
9 2003/03/25 16:15:44 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -63,8 +63,8 @@ SET <replaceable class="parameter">variable</replaceable> TO DEFAULT
...
@@ -63,8 +63,8 @@ SET <replaceable class="parameter">variable</replaceable> TO DEFAULT
have had, had no <command>SET</> ever been issued for it in the
have had, had no <command>SET</> ever been issued for it in the
current session. The actual source of this value might be a
current session. The actual source of this value might be a
compiled-in default, the postmaster's configuration file or command-line
compiled-in default, the postmaster's configuration file or command-line
switches, or per-database or per-user default settings. See
the
switches, or per-database or per-user default settings. See
&cite-admin;
for details.
<xref linkend="runtime-config">
for details.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/select.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.6
5 2003/03/20 19:00:01 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.6
6 2003/03/25 16:15:44 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -885,8 +885,7 @@ SELECT name FROM distributors ORDER BY code;
...
@@ -885,8 +885,7 @@ SELECT name FROM distributors ORDER BY code;
already locked a selected row or rows, <command>SELECT FOR
already locked a selected row or rows, <command>SELECT FOR
UPDATE</command> will wait for the other transaction to complete,
UPDATE</command> will wait for the other transaction to complete,
and will then lock and return the updated row (or no row, if the
and will then lock and return the updated row (or no row, if the
row was deleted). For further discussion see the concurrency
row was deleted). For further discussion see <xref linkend="mvcc">.
chapter of the &cite-user;.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/set.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.7
2 2003/01/19 00:13:31 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.7
3 2003/03/25 16:15:44 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -80,7 +80,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
...
@@ -80,7 +80,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
<para>
<para>
The <command>SET</command> command changes run-time configuration
The <command>SET</command> command changes run-time configuration
parameters. Many of the run-time parameters listed in the
parameters. Many of the run-time parameters listed in the
&cite-admin;
can be changed on-the-fly with <command>SET</command>.
<xref linkend="runtime-config">
can be changed on-the-fly with <command>SET</command>.
(But some require superuser privileges to change, and others cannot
(But some require superuser privileges to change, and others cannot
be changed after server or session start.) Note that
be changed after server or session start.) Note that
<command>SET</command> only affects the value used by the current
<command>SET</command> only affects the value used by the current
...
@@ -111,7 +111,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
...
@@ -111,7 +111,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
<para>
<para>
Even with <varname>autocommit</> set to <literal>off</>, <command>SET</>
Even with <varname>autocommit</> set to <literal>off</>, <command>SET</>
does not start a new transaction block. See the
does not start a new transaction block. See the
<varname>autocommit</> section
of the &cite-admin;
for details.
<varname>autocommit</> section
in <xref linkend="runtime-config">
for details.
</para>
</para>
<para>
<para>
...
@@ -443,6 +443,14 @@ SELECT setseed(<replaceable>value</replaceable>);
...
@@ -443,6 +443,14 @@ SELECT setseed(<replaceable>value</replaceable>);
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>Notes</title>
<para>
The function <function>set_config</function> provides the equivalent
capability. See <xref linkend="functions-misc">.
</para>
</refsect1>
<refsect1>
<refsect1>
<title>Examples</title>
<title>Examples</title>
...
@@ -513,12 +521,6 @@ SELECT CURRENT_TIMESTAMP AS today;
...
@@ -513,12 +521,6 @@ SELECT CURRENT_TIMESTAMP AS today;
<xref linkend="sql-set-session-authorization" endterm="sql-set-session-authorization-title">,
<xref linkend="sql-set-session-authorization" endterm="sql-set-session-authorization-title">,
<xref linkend="sql-set-transaction" endterm="sql-set-transaction-title">
<xref linkend="sql-set-transaction" endterm="sql-set-transaction-title">
</simpara>
</simpara>
<para>
The function <function>set_config</function> provides the equivalent
capability. See <citetitle>Miscellaneous Functions</citetitle> in
the &cite-user;.
</para>
</refsect1>
</refsect1>
</refentry>
</refentry>
...
...
doc/src/sgml/ref/set_transaction.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.1
2 2003/01/19 00:13:31 momjian
Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.1
3 2003/03/25 16:15:44 petere
Exp $ -->
<refentry id="SQL-SET-TRANSACTION">
<refentry id="SQL-SET-TRANSACTION">
<docinfo>
<docinfo>
<date>2000-11-24</date>
<date>2000-11-24</date>
...
@@ -109,7 +109,7 @@ SET SESSION CHARACTERISTICS AS TRANSACTION
...
@@ -109,7 +109,7 @@ SET SESSION CHARACTERISTICS AS TRANSACTION
<programlisting>
<programlisting>
SET default_transaction_isolation = '<replaceable>value</replaceable>'
SET default_transaction_isolation = '<replaceable>value</replaceable>'
</programlisting>
</programlisting>
and in the configuration file. Consult
the &cite-admin;
for more
and in the configuration file. Consult
<xref linkend="runtime-config">
for more
information.
information.
</para>
</para>
</refsect1>
</refsect1>
...
@@ -126,7 +126,7 @@ SET default_transaction_isolation = '<replaceable>value</replaceable>'
...
@@ -126,7 +126,7 @@ SET default_transaction_isolation = '<replaceable>value</replaceable>'
not provide the isolation levels <option>READ UNCOMMITTED</option>
not provide the isolation levels <option>READ UNCOMMITTED</option>
and <option>REPEATABLE READ</option>. Because of multiversion
and <option>REPEATABLE READ</option>. Because of multiversion
concurrency control, the <option>SERIALIZABLE</option> level is not
concurrency control, the <option>SERIALIZABLE</option> level is not
truly serializable. See
the &cite-user;
for details.
truly serializable. See
<xref linkend="mvcc">
for details.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/show.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/show.sgml,v 1.2
3 2003/01/19 00:13:31 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/show.sgml,v 1.2
4 2003/03/25 16:15:44 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -64,7 +64,7 @@ SHOW ALL
...
@@ -64,7 +64,7 @@ SHOW ALL
<para>
<para>
Even with <varname>autocommit</> set to <literal>off</>, <command>SHOW</>
Even with <varname>autocommit</> set to <literal>off</>, <command>SHOW</>
does not start a new transaction block. See the
does not start a new transaction block. See the
<varname>autocommit</> section
of the &cite-admin;
for details.
<varname>autocommit</> section
in <xref linkend="runtime-config">
for details.
</para>
</para>
</refsect1>
</refsect1>
...
@@ -87,6 +87,15 @@ SHOW ALL
...
@@ -87,6 +87,15 @@ SHOW ALL
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>Notes</title>
<para>
The function <function>current_setting</function> produces
equivalent output. See <xref linkend="functions-misc">.
</para>
</refsect1>
<refsect1 id="R1-SQL-SHOW-2">
<refsect1 id="R1-SQL-SHOW-2">
<title>Examples</title>
<title>Examples</title>
<para>
<para>
...
@@ -141,16 +150,6 @@ SHOW ALL;
...
@@ -141,16 +150,6 @@ SHOW ALL;
<productname>PostgreSQL</productname> extension.
<productname>PostgreSQL</productname> extension.
</para>
</para>
</refsect1>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
The function <function>current_setting</function> produces equivalent
output. See <citetitle>Miscellaneous Functions</citetitle> in the
&cite-user;.
</para>
</refsect1>
</refentry>
</refentry>
<!-- Keep this comment at the end of the file
<!-- Keep this comment at the end of the file
...
...
doc/src/sgml/ref/vacuum.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.
29 2003/02/19 04:06:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuum.sgml,v 1.
30 2003/03/25 16:15:44 petere
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -206,7 +206,7 @@ INFO: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
...
@@ -206,7 +206,7 @@ INFO: Index <replaceable class="PARAMETER">index</replaceable>: Pages 28;
intended usage is in connection with preparation of user-defined template
intended usage is in connection with preparation of user-defined template
databases, or other databases that are completely read-only and will not
databases, or other databases that are completely read-only and will not
receive routine maintenance <command>VACUUM</> operations.
receive routine maintenance <command>VACUUM</> operations.
See
the &cite-admin;
for details.
See
<xref linkend="maintenance">
for details.
</para>
</para>
<refsect2 id="R2-SQL-VACUUM-3">
<refsect2 id="R2-SQL-VACUUM-3">
...
...
doc/src/sgml/reference.sgml
View file @
5e5c5cd3
<!-- reference.sgml
<!-- reference.sgml
$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.4
3 2003/03/24 14:32:50
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.4
4 2003/03/25 16:15:38
petere Exp $
PostgreSQL Reference Manual
PostgreSQL Reference Manual
-->
-->
<book id="reference">
<part id="reference">
<title>Reference</title>
<title>PostgreSQL &version; Reference Manual</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
</bookinfo>
<preface id="reference-preface">
<title>Preface</title>
<partintro>
<para>
<para>
The entries in this <citetitle>Reference Manual</citetitle> are
The entries in this Reference are meant to provide in reasonable
meant to provide in reasonable length an authoritative, complete, and
length an authoritative, complete, and formal summary about their
formal summary about their respective subjects. More information
respective subjects. More information about the use of
about the use of <productname>PostgreSQL</productname>, in
<productname>PostgreSQL</productname>, in narrative, tutorial, or
narrative, tutorial, or example form, may be found in other parts
example form, may be found in other parts of this book. See the
of the <productname>PostgreSQL</productname> documentation set.
cross-references listed on each reference page.
See the cross-references listed on each reference page.
</para>
</para>
<para>
<para>
The
<citetitle>Reference Manual</citetitle> entries are also
The
reference entries are also available as traditional
available as traditional
<quote>man</quote> pages.
<quote>man</quote> pages.
</para>
</para>
</p
reface
>
</p
artintro
>
<reference id="sql-commands">
<reference id="sql-commands">
<title>SQL Commands</title>
<title>SQL Commands</title>
...
@@ -192,7 +184,7 @@ PostgreSQL Reference Manual
...
@@ -192,7 +184,7 @@ PostgreSQL Reference Manual
</reference>
</reference>
</
book
>
</
part
>
<!-- Keep this comment at the end of the file
<!-- Keep this comment at the end of the file
Local variables:
Local variables:
...
...
doc/src/sgml/runtime.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.17
3 2003/03/24 14:32:50
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.17
4 2003/03/25 16:15:38
petere Exp $
-->
-->
<Chapter Id="runtime">
<Chapter Id="runtime">
...
@@ -144,7 +144,7 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput>
...
@@ -144,7 +144,7 @@ postgres$ <userinput>initdb -D /usr/local/pgsql/data</userinput>
The database cluster will be initialized with locale de_DE.
The database cluster will be initialized with locale de_DE.
This locale setting will prevent the use of indexes for pattern matching
This locale setting will prevent the use of indexes for pattern matching
operations. If that is a concern, rerun initdb with the collation order
operations. If that is a concern, rerun initdb with the collation order
set to "C". For more information see the
Administrator's Guide
.
set to "C". For more information see the
documentation
.
</screen>
</screen>
This is intended to warn you that the currently selected locale
This is intended to warn you that the currently selected locale
will cause indexes to be sorted in an order that prevents them from
will cause indexes to be sorted in an order that prevents them from
...
@@ -1180,7 +1180,7 @@ SET ENABLE_SEQSCAN TO OFF;
...
@@ -1180,7 +1180,7 @@ SET ENABLE_SEQSCAN TO OFF;
visible to the superuser, so it should not represent a
visible to the superuser, so it should not represent a
security risk. This data can be accessed via the
security risk. This data can be accessed via the
<structname>pg_stat_activity</structname> system view; refer
<structname>pg_stat_activity</structname> system view; refer
to
the &cite-admin;
for more information.
to
<xref linkend="monitoring">
for more information.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -1195,7 +1195,7 @@ SET ENABLE_SEQSCAN TO OFF;
...
@@ -1195,7 +1195,7 @@ SET ENABLE_SEQSCAN TO OFF;
default. This data can be accessed via the
default. This data can be accessed via the
<structname>pg_stat</structname> and
<structname>pg_stat</structname> and
<structname>pg_statio</structname> family of system views;
<structname>pg_statio</structname> family of system views;
refer to
the &cite-admin;
for more information.
refer to
<xref linkend="monitoring">
for more information.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -1470,8 +1470,7 @@ SET ENABLE_SEQSCAN TO OFF;
...
@@ -1470,8 +1470,7 @@ SET ENABLE_SEQSCAN TO OFF;
</para>
</para>
<para>
<para>
Consult the &cite-user; and
Consult <xref linkend="mvcc"> and <xref linkend="sql-set-transaction"> for more
the command <command>SET TRANSACTION</command> for more
information.
information.
</para>
</para>
</listitem>
</listitem>
...
@@ -1894,7 +1893,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
...
@@ -1894,7 +1893,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
</para>
</para>
<para>
<para>
For more information on schema handling, see
the &cite-user;
.
For more information on schema handling, see
<xref linkend="ddl-schemas">
.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -1978,8 +1977,8 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
...
@@ -1978,8 +1977,8 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
not included in versions prior to 7.1. If you need the old
not included in versions prior to 7.1. If you need the old
behavior you can set this variable to off, but in the long run
behavior you can set this variable to off, but in the long run
you are encouraged to change your applications to use the
you are encouraged to change your applications to use the
<literal>ONLY</literal> key word to exclude subtables. See
the
<literal>ONLY</literal> key word to exclude subtables. See
SQL language reference and the &cite-user;
for more information about inheritance.
<xref linkend="sql">
for more information about inheritance.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -2083,7 +2082,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
...
@@ -2083,7 +2082,7 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
</para>
</para>
<para>
<para>
Refer to
the &cite-user;
for related information.
Refer to
<xref linkend="functions-comparison">
for related information.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/src/sgml/standalone-install.sgml
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/standalone-install.sgml,v 2.
3 2001/09/21 18:37:05
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/standalone-install.sgml,v 2.
4 2003/03/25 16:15:38
petere Exp $ -->
<!--
<!--
This file helps in generating the INSTALL text file that lives in the
This file helps in generating the INSTALL text file that lives in the
...
@@ -26,7 +26,7 @@ Running 'make INSTALL' in the doc/src/sgml directory will do 1 through
...
@@ -26,7 +26,7 @@ Running 'make INSTALL' in the doc/src/sgml directory will do 1 through
<!--
<!--
The standalone version has some portions that are different from the
The standalone version has some portions that are different from the
version that is integrated into the
Administrator's Guide
, in
version that is integrated into the
full documentation set
, in
particular as regards links. The following are essentially SGML's
particular as regards links. The following are essentially SGML's
equivalent of C's #ifdef and friends. The other end of this is in
equivalent of C's #ifdef and friends. The other end of this is in
installation.sgml.
installation.sgml.
...
@@ -36,7 +36,7 @@ installation.sgml.
...
@@ -36,7 +36,7 @@ installation.sgml.
<!entity % standalone-include "INCLUDE">
<!entity % standalone-include "INCLUDE">
<!--
<!--
When you're building the
Administrator's Guide
, you want to flip the
When you're building the
full documentation set
, you want to flip the
IGNORE and INCLUDE.
IGNORE and INCLUDE.
-->
-->
]>
]>
doc/src/sgml/start.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/start.sgml,v 1.2
8 2003/02/19 04:06:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/start.sgml,v 1.2
9 2003/03/25 16:15:38 petere
Exp $
-->
-->
<chapter id="tutorial-start">
<chapter id="tutorial-start">
...
@@ -31,7 +31,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/start.sgml,v 1.28 2003/02/19 04:06:28 momji
...
@@ -31,7 +31,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/start.sgml,v 1.28 2003/02/19 04:06:28 momji
<para>
<para>
If you are installing <productname>PostgreSQL</productname>
If you are installing <productname>PostgreSQL</productname>
yourself, then refer to
the &cite-admin;
yourself, then refer to
<xref linkend="installation">
for instructions on installation, and return to
for instructions on installation, and return to
this guide when the installation is complete. Be sure to follow
this guide when the installation is complete. Be sure to follow
closely the section about setting up the appropriate environment
closely the section about setting up the appropriate environment
...
@@ -292,7 +292,7 @@ createdb: database creation failed
...
@@ -292,7 +292,7 @@ createdb: database creation failed
<para>
<para>
Writing a custom application, using one of the several
Writing a custom application, using one of the several
available language bindings. These possibilities are discussed
available language bindings. These possibilities are discussed
further in
the &cite-programmer;
.
further in
<xref linkend="client-interfaces">
.
</para>
</para>
</listitem>
</listitem>
</itemizedlist>
</itemizedlist>
...
@@ -391,7 +391,7 @@ mydb=#
...
@@ -391,7 +391,7 @@ mydb=#
command shell. (For more internal commands, type
command shell. (For more internal commands, type
<literal>\?</literal> at the <command>psql</command> prompt.) The
<literal>\?</literal> at the <command>psql</command> prompt.) The
full capabilities of <command>psql</command> are documented in
full capabilities of <command>psql</command> are documented in
the &cite-reference;
. If <productname>PostgreSQL</> is
<xref linkend="reference">
. If <productname>PostgreSQL</> is
installed correctly you can also type <literal>man psql</literal>
installed correctly you can also type <literal>man psql</literal>
at the operating system shell prompt to see the documentation. In
at the operating system shell prompt to see the documentation. In
this tutorial we will not use these features explicitly, but you
this tutorial we will not use these features explicitly, but you
...
...
doc/src/sgml/stylesheet.dsl
View file @
5e5c5cd3
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.2
2 2002/10/12 16:33:43
petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/stylesheet.dsl,v 1.2
3 2003/03/25 16:15:38
petere Exp $ -->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!-- must turn on one of these with -i on the jade command line -->
<!-- must turn on one of these with -i on the jade command line -->
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
;; Returns the depth of auto TOC that should be made at the nd-level
;; Returns the depth of auto TOC that should be made at the nd-level
(define (toc-depth nd)
(define (toc-depth nd)
(cond ((string=? (gi nd) (normalize "book"))
3
)
(cond ((string=? (gi nd) (normalize "book"))
2
)
((string=? (gi nd) (normalize "set")) 2)
((string=? (gi nd) (normalize "set")) 2)
((string=? (gi nd) (normalize "part")) 2)
((string=? (gi nd) (normalize "part")) 2)
((string=? (gi nd) (normalize "chapter")) 2)
((string=? (gi nd) (normalize "chapter")) 2)
...
...
doc/src/sgml/syntax.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.7
6 2003/03/13 01:30:29
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.7
7 2003/03/25 16:15:38
petere Exp $
-->
-->
<chapter id="sql-syntax">
<chapter id="sql-syntax">
...
@@ -73,8 +73,7 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there');
...
@@ -73,8 +73,7 @@ INSERT INTO MY_TABLE VALUES (3, 'hi there');
a <token>SET</token> token to appear in a certain position, and
a <token>SET</token> token to appear in a certain position, and
this particular variation of <command>INSERT</command> also
this particular variation of <command>INSERT</command> also
requires a <token>VALUES</token> in order to be complete. The
requires a <token>VALUES</token> in order to be complete. The
precise syntax rules for each command are described in the
precise syntax rules for each command are described in <xref linkend="reference">.
&cite-reference;.
</para>
</para>
<sect2 id="sql-syntax-identifiers">
<sect2 id="sql-syntax-identifiers">
...
...
doc/src/sgml/trigger.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.2
6 2002/11/23 03:59:06 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.2
7 2003/03/25 16:15:38 petere
Exp $
-->
-->
<chapter id="triggers">
<chapter id="triggers">
...
@@ -38,7 +38,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.26 2002/11/23 03:59:06 mom
...
@@ -38,7 +38,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/trigger.sgml,v 1.26 2002/11/23 03:59:06 mom
</para>
</para>
<para>
<para>
The syntax for creating triggers is described in
&cite-reference;
.
The syntax for creating triggers is described in
<xref linkend="reference">
.
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/tutorial.sgml
deleted
100644 → 0
View file @
685a4934
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/tutorial.sgml,v 1.18 2002/11/15 03:11:17 momjian Exp $
-->
<book id="tutorial">
<title>PostgreSQL &version; Tutorial</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
</bookinfo>
<preface id="tutorial-preface">
<title>Preface</title>
<![%single-book;[
&intro;
&history;
]]>
<sect1 id="tutorial-preface-thisbook">
<title>What's In This Book</title>
<para>
Welcome to <productname>PostgreSQL</productname> and the
<citetitle>PostgreSQL Tutorial</citetitle>. The following few
chapters are intended to give a simple introduction to
<productname>PostgreSQL</productname>, relational database
concepts, and the SQL language to those who are new to any one of
these aspects. We only assume some general knowledge about how to
use computers. No particular Unix or programming experience is
required. This book is mainly intended to give you a hands-on
experience with important aspects of the
<productname>PostgreSQL</productname> system. It makes no attempt
to be a complete or thorough treatment of the topics it covers.
</para>
<para>
After you have worked through this tutorial you might want to move
on to reading the &cite-user; to gain a more formal knowledge of
the SQL language, or the &cite-programmer; for information about
developing applications for <productname>PostgreSQL</productname>.
Those who set up and manage their own server should also read the
&cite-admin;.
</para>
</sect1>
<![%single-book;[
&info;
¬ation;
&problems;
]]>
</preface>
&start;
&query;
&advanced;
<![%single-book;[
&biblio;
&bookindex;
]]>
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode:sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"./reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:("/usr/lib/sgml/catalog")
sgml-local-ecat-files:nil
End:
-->
doc/src/sgml/typeconv.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/typeconv.sgml,v 1.
29 2003/03/20 16:17:32 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/typeconv.sgml,v 1.
30 2003/03/25 16:15:38 petere
Exp $
-->
-->
<chapter Id="typeconv">
<chapter Id="typeconv">
...
@@ -29,11 +29,6 @@ for more information on specific data types and allowed functions and
...
@@ -29,11 +29,6 @@ for more information on specific data types and allowed functions and
operators.
operators.
</para>
</para>
<para>
The &cite-programmer; has more details on the exact algorithms used for
implicit type conversion and conversion.
</para>
<sect1 id="typeconv-overview">
<sect1 id="typeconv-overview">
<title>Overview</title>
<title>Overview</title>
...
...
doc/src/sgml/user-manag.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/user-manag.sgml,v 1.
19 2003/03/13 01:30:29
petere Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/user-manag.sgml,v 1.
20 2003/03/25 16:15:38
petere Exp $
-->
-->
<chapter id="user-manag">
<chapter id="user-manag">
...
@@ -16,8 +16,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/user-manag.sgml,v 1.19 2003/03/13 01:30:29
...
@@ -16,8 +16,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/user-manag.sgml,v 1.19 2003/03/13 01:30:29
<para>
<para>
This chapter describes how to create and manage users and introduces
This chapter describes how to create and manage users and introduces
the privilege system. More information about the various types of
the privilege system. More information about the various types of
database objects and the effects of privileges can be found in the
database objects and the effects of privileges can be found in <xref linkend="ddl">.
&cite-user;.
</para>
</para>
<sect1 id="database-users">
<sect1 id="database-users">
...
@@ -185,7 +184,7 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
...
@@ -185,7 +184,7 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
<sect1 id="privileges">
<sect1 id="privileges">
<title>Privileges</title>
<title>Privileges</title>
<comment>Being moved to
User's Guide
. Will eventually disappear here.</comment>
<comment>Being moved to
the DDL chapter
. Will eventually disappear here.</comment>
<para>
<para>
When a database object is created, it is assigned an owner. The
When a database object is created, it is assigned an owner. The
...
@@ -205,7 +204,7 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
...
@@ -205,7 +204,7 @@ ALTER GROUP <replaceable>name</replaceable> DROP USER <replaceable>uname1</repla
<literal>USAGE</>, and <literal>ALL PRIVILEGES</>. For more
<literal>USAGE</>, and <literal>ALL PRIVILEGES</>. For more
information on the different types of privileges support by
information on the different types of privileges support by
<productname>PostgreSQL</productname>, refer to the
<productname>PostgreSQL</productname>, refer to the
<command>GRANT</command> page in
the &cite-reference;
. The right to modify or
<command>GRANT</command> page in
<xref linkend="reference">
. The right to modify or
destroy an object is always the privilege of the owner only. To
destroy an object is always the privilege of the owner only. To
assign privileges, the <command>GRANT</command> command is
assign privileges, the <command>GRANT</command> command is
used. So, if <literal>joe</literal> is an existing user, and
used. So, if <literal>joe</literal> is an existing user, and
...
...
doc/src/sgml/user.sgml
deleted
100644 → 0
View file @
685a4934
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/user.sgml,v 1.35 2002/11/15 03:11:17 momjian Exp $
-->
<book id="user">
<!-- Title information -->
<title>PostgreSQL &version; User's Guide</title>
<bookinfo>
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
&legal;
</bookinfo>
<preface id="user-preface">
<title>Preface</title>
&intro;
&history;
<sect1 id="user-preface-thisbook">
<title>What's In This Book</title>
<para>
This book describes the use of the <acronym>SQL</acronym> language
in <productname>PostgreSQL</productname>. We start with
describing the general syntax of <acronym>SQL</acronym>, then
explain how to create the structures to hold data, how to populate
the database, and how to query it. The middle part lists the
available data types and functions for use in
<acronym>SQL</acronym> data commands. The rest of the book treats
several aspects that are important for tuning a database for
optimal performance.
</para>
<para>
The information in this book is arranged so that a novice user can
follow it start to end to 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 in this
book is presented in a narrative fashion in topical units.
Readers looking for a complete description of a particular command
should look into the &cite-reference;.
</para>
<para>
Readers of this book should know how to connect to a <productname>PostgreSQL</>
database and issue <acronym>SQL</acronym> commands. Readers that are unfamiliar with
these issues are encouraged to read the &cite-tutorial; first. <acronym>SQL</acronym>
commands are typically entered using the <productname>PostgreSQL</> interactive
terminal <application>psql</application>, but other programs that
have similar functionality can be used as well.
</para>
<para>
This book covers <productname>PostgreSQL &version;</productname>
only. For information on other versions, please read the
documentation that accompanies that release.
</para>
</sect1>
&info;
¬ation;
&problems;
</preface>
&syntax;
&ddl;
&dml;
&queries;
&datatype;
&func;
&typeconv;
&indices;
&mvcc;
&perform;
<!-- appendices -->
&datetime;
&keywords;
&features;
&biblio;
<![%single-book;[
&bookindex;
]]>
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode:sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"./reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:("/usr/lib/sgml/catalog")
sgml-local-ecat-files:nil
End:
-->
doc/src/sgml/xaggr.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/xaggr.sgml,v 1.1
8 2003/01/19 00:13:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/xaggr.sgml,v 1.1
9 2003/03/25 16:15:38 petere
Exp $
-->
-->
<chapter id="xaggr">
<chapter id="xaggr">
...
@@ -114,7 +114,7 @@ CREATE AGGREGATE avg (
...
@@ -114,7 +114,7 @@ CREATE AGGREGATE avg (
<para>
<para>
For further details see the description of the <command>CREATE
For further details see the description of the <command>CREATE
AGGREGATE</command> command in
the &cite-reference;
.
AGGREGATE</command> command in
<xref linkend="reference">
.
</para>
</para>
</chapter>
</chapter>
...
...
doc/src/sgml/xfunc.sgml
View file @
5e5c5cd3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.6
5 2003/02/19 04:06:28 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/xfunc.sgml,v 1.6
6 2003/03/25 16:15:38 petere
Exp $
-->
-->
<chapter id="xfunc">
<chapter id="xfunc">
...
@@ -2051,7 +2051,7 @@ CREATE FUNCTION test(smallint, double precision) RETURNS ...
...
@@ -2051,7 +2051,7 @@ CREATE FUNCTION test(smallint, double precision) RETURNS ...
it is not immediately clear which function would be called with
it is not immediately clear which function would be called with
some trivial input like <literal>test(1, 1.5)</literal>. The
some trivial input like <literal>test(1, 1.5)</literal>. The
currently implemented resolution rules are described in the
currently implemented resolution rules are described in the
&cite-user;
, but it is unwise to design a system that subtly
<xref linkend="typeconv">
, but it is unwise to design a system that subtly
relies on this behavior.
relies on this behavior.
</para>
</para>
...
...
src/backend/port/sysv_sema.c
View file @
5e5c5cd3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_sema.c,v 1.
4 2002/09/04 20:31:24 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_sema.c,v 1.
5 2003/03/25 16:15:44 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -128,7 +128,7 @@ InternalIpcSemaphoreCreate(IpcSemaphoreKey semKey, int numSems)
...
@@ -128,7 +128,7 @@ InternalIpcSemaphoreCreate(IpcSemaphoreKey semKey, int numSems)
"consumption of semaphores by reducing its max_connections parameter
\n
"
"consumption of semaphores by reducing its max_connections parameter
\n
"
"(currently %d).
\n
"
"(currently %d).
\n
"
"
\n
"
"
\n
"
"The PostgreSQL
Administrator's Guide
contains more information about
\n
"
"The PostgreSQL
documentation
contains more information about
\n
"
"configuring your system for PostgreSQL.
\n\n
"
,
"configuring your system for PostgreSQL.
\n\n
"
,
MaxBackends
);
MaxBackends
);
...
...
src/backend/port/sysv_shmem.c
View file @
5e5c5cd3
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.
4 2002/09/04 20:31:24 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.
5 2003/03/25 16:15:44 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -96,7 +96,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
...
@@ -96,7 +96,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
"
\n
This error usually means that PostgreSQL's request for a shared memory
\n
"
"
\n
This error usually means that PostgreSQL's request for a shared memory
\n
"
"segment exceeded your kernel's SHMMAX parameter. You can either
\n
"
"segment exceeded your kernel's SHMMAX parameter. You can either
\n
"
"reduce the request size or reconfigure the kernel with larger SHMMAX.
\n
"
"reduce the request size or reconfigure the kernel with larger SHMMAX.
\n
"
"To reduce the request size (currently %u bytes), reduce
\n
"
"To reduce the request size (currently %u bytes), reduce
\n
"
"PostgreSQL's shared_buffers parameter (currently %d) and/or
\n
"
"PostgreSQL's shared_buffers parameter (currently %d) and/or
\n
"
"its max_connections parameter (currently %d).
\n
"
"its max_connections parameter (currently %d).
\n
"
"
\n
"
"
\n
"
...
@@ -104,20 +104,20 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
...
@@ -104,20 +104,20 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
"your kernel's SHMMIN parameter, in which case raising the request size or
\n
"
"your kernel's SHMMIN parameter, in which case raising the request size or
\n
"
"reconfiguring SHMMIN is called for.
\n
"
"reconfiguring SHMMIN is called for.
\n
"
"
\n
"
"
\n
"
"The PostgreSQL
Administrator's Guide contains more information about
\n
"
"The PostgreSQL
documentation contains more information about shared
\n
"
"
shared
memory configuration.
\n\n
"
,
"memory configuration.
\n\n
"
,
size
,
NBuffers
,
MaxBackends
);
size
,
NBuffers
,
MaxBackends
);
else
if
(
errno
==
ENOMEM
)
else
if
(
errno
==
ENOMEM
)
fprintf
(
stderr
,
fprintf
(
stderr
,
"
\n
This error usually means that PostgreSQL's request for a shared
\n
"
"
\n
This error usually means that PostgreSQL's request for a shared
\n
"
"memory segment exceeded available memory or swap space.
\n
"
"memory segment exceeded available memory or swap space.
\n
"
"To reduce the request size (currently %u bytes), reduce
\n
"
"To reduce the request size (currently %u bytes), reduce
\n
"
"PostgreSQL's shared_buffers parameter (currently %d) and/or
\n
"
"PostgreSQL's shared_buffers parameter (currently %d) and/or
\n
"
"its max_connections parameter (currently %d).
\n
"
"its max_connections parameter (currently %d).
\n
"
"
\n
"
"
\n
"
"The PostgreSQL
Administrator's Guide contains more information about
\n
"
"The PostgreSQL
documentation contains more information about shared
\n
"
"
shared
memory configuration.
\n\n
"
,
"memory configuration.
\n\n
"
,
size
,
NBuffers
,
MaxBackends
);
size
,
NBuffers
,
MaxBackends
);
else
if
(
errno
==
ENOSPC
)
else
if
(
errno
==
ENOSPC
)
...
@@ -132,8 +132,8 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
...
@@ -132,8 +132,8 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
"by reducing its shared_buffers parameter (currently %d) and/or
\n
"
"by reducing its shared_buffers parameter (currently %d) and/or
\n
"
"its max_connections parameter (currently %d).
\n
"
"its max_connections parameter (currently %d).
\n
"
"
\n
"
"
\n
"
"The PostgreSQL
Administrator's Guide contains more information about
\n
"
"The PostgreSQL
documentation contains more information about shared
\n
"
"
shared
memory configuration.
\n\n
"
,
"memory configuration.
\n\n
"
,
size
,
NBuffers
,
MaxBackends
);
size
,
NBuffers
,
MaxBackends
);
proc_exit
(
1
);
proc_exit
(
1
);
...
...
src/bin/initdb/initdb.sh
View file @
5e5c5cd3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.18
6 2003/03/20 03:34:56 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.18
7 2003/03/25 16:15:44 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -483,7 +483,7 @@ fi
...
@@ -483,7 +483,7 @@ fi
if
test
x
`
pg_getlocale COLLATE
`
!=
xC
&&
test
x
`
pg_getlocale COLLATE
`
!=
xPOSIX
;
then
if
test
x
`
pg_getlocale COLLATE
`
!=
xC
&&
test
x
`
pg_getlocale COLLATE
`
!=
xPOSIX
;
then
echo
"This locale setting will prevent the use of indexes for pattern matching"
echo
"This locale setting will prevent the use of indexes for pattern matching"
echo
"operations. If that is a concern, rerun
$CMDNAME
with the collation order"
echo
"operations. If that is a concern, rerun
$CMDNAME
with the collation order"
echo
"set to
\"
C
\"
. For more information see the
Administrator's Guide
."
echo
"set to
\"
C
\"
. For more information see the
documentation
."
fi
fi
echo
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment