postgresql/doc/src/sgml
Tom Lane 98b1dda7f7 Fix documentation about joining pg_locks to other views.
The advice to join to pg_prepared_xacts via the transaction column was not
updated when the transaction column was replaced by virtualtransaction.
Since it's not quite obvious how to do that join, give an explicit example.
For consistency also give an example for the adjacent case of joining to
pg_stat_activity.  And link-ify the view references too, just because we
can.  Per bug #9840 from Alexey Bashtanov.

Michael Paquier and Tom Lane
2014-04-03 14:18:48 -04:00
..
ref Shore up ADMIN OPTION restrictions. 2014-02-17 09:33:38 -05:00
.gitignore Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:30 -05:00
acronyms.sgml Document that WITH queries are also called Common Table Expressions. 2011-01-19 21:21:51 -05:00
adminpack.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
advanced.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
arch-dev.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
array.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
auto-explain.sgml Fix wording, per Peter Geoghegan 2012-01-27 10:37:35 +01:00
backup.sgml Remove inaccurate "Incrementally Updated Backups" documentation section; 2012-11-26 17:36:21 -05:00
biblio.sgml Update URL for "Generalized Partial Indexes" paper to point to a cached 2007-02-08 04:31:37 +00:00
bki.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
btree-gin.sgml Add btree_gin contrib module. 2009-03-25 23:20:01 +00:00
btree-gist.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
catalogs.sgml Fix documentation about joining pg_locks to other views. 2014-04-03 14:18:48 -04:00
charset.sgml doc: Remove i18ngurus.com link 2013-10-21 06:32:20 -04:00
chkpass.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
citext.sgml Update citext's documentation to match the recently-applied patch, 2008-09-12 18:29:49 +00:00
client-auth.sgml Document that multiple LDAP servers can be specified 2011-11-01 15:45:38 +01:00
config.sgml Document platform-specificity of unix_socket_permissions. 2014-03-29 01:19:48 -04:00
contacts.sgml Make $PostgreSQL CVS tags consistent for SGML files. 2006-03-10 19:10:50 +00:00
contrib-spi.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
contrib.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
cube.sgml Fix a couple of broken links to third-party sites. 2009-12-08 20:08:37 +00:00
datatype.sgml Fix documentation about size of interval type. 2014-04-03 11:06:38 -04:00
datetime.sgml Remove the datetime keywords ABSTIME and RELTIME, which we'd been treating as 2009-03-22 01:12:32 +00:00
dblink.sgml Add some more documentation and cross-links on using dblink with SQL/MED. 2009-06-18 14:34:36 +00:00
ddl.sgml Provide adequate documentation of the "table_name *" notation. 2012-09-17 14:59:46 -04:00
dfunc.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
dict-int.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
dict-xsyn.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
diskusage.sgml Update documentation on may/can/might: 2007-01-31 20:56:20 +00:00
dml.sgml Provide a link to the UPDATE reference page in the 'Updating Data' 2009-06-23 20:33:25 +00:00
docguide.sgml Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:30 -05:00
earthdistance.sgml Backpatch some blatant spelling mistakes 2010-08-17 04:49:33 +00:00
ecpg.sgml ECPG documentation fixes 2011-06-04 22:52:52 +03:00
errcodes.sgml Add new SQL:2008 error codes for invalid LIMIT and OFFSET values. Remove 2009-03-04 10:55:00 +00:00
extend.sgml Support "variadic" functions, which can accept a variable number of arguments 2008-07-16 01:30:23 +00:00
external-projects.sgml doc: Correct psycopg URL 2013-10-02 21:34:59 -04:00
features.sgml SQL/MED catalog manipulation facilities 2008-12-19 16:25:19 +00:00
filelist.sgml Remove anonymous cvs instructions, and replace them with instructions 2010-09-22 20:10:32 +02:00
fixrtf Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
func.sgml doc: Fix typos in conversion names. 2013-07-19 10:54:43 -04:00
fuzzystrmatch.sgml Document the fact that fuzzystrmatch doesn't work in multibyte encodings. 2009-04-06 15:43:00 +00:00
geqo.sgml Fix URL to "The Hitch-Hiker's Guide to Evolutionary Computation". 2009-08-10 22:42:41 +00:00
gin.sgml Update GIN limitations documentation to match current reality. 2009-04-09 19:07:44 +00:00
gist.sgml Protect GIST logic that assumes penalty values can't be negative. 2011-05-31 17:54:01 -04:00
high-availability.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
history.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
hstore.sgml Deprecate the use of => as an operator name. 2010-06-22 11:36:28 +00:00
indexam.sgml Implement "fastupdate" support for GIN indexes, in which we try to accumulate 2009-03-24 20:17:18 +00:00
indices.sgml Document that autovacuum may run ANALYZE 2009-08-07 20:55:05 +00:00
info.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
information_schema.sgml Fix documentation of information_schema.element_types 2011-06-09 07:30:47 +03:00
install-win32.sgml Clarify that you need ActiveState perl 5.8 *or later* to build on Windows. 2011-07-04 22:42:40 +03:00
installation.sgml doc: Fix syntax of a URL 2013-01-20 19:42:01 -05:00
intagg.sgml Reduce contrib/intagg to a thin wrapper around the new core functions 2008-11-14 19:58:45 +00:00
intarray.sgml Fix incorrect parameter tag in docs, spotted by KOIZUMI Satoru. 2010-05-05 15:13:25 +00:00
intro.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
isn.sgml Refer to tables by id, not by "the following table", because tables are in 2009-05-18 11:08:24 +00:00
keywords.sgml doc: Fix number of columns in table 2013-04-04 21:16:52 -04:00
legal.sgml Update copyright for 2014 2014-01-07 16:05:29 -05:00
libpq.sgml Don't put <indexterm> before <term> in <varlistentry> items. 2013-03-23 14:06:48 -04:00
lo.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
lobj.sgml Improve description of loread/lowrite. 2013-06-12 12:26:17 -04:00
ltree.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
maintenance.sgml Fix ancient docs/comments thinko: XID comparison is mod 2^32, not 2^31. 2013-12-12 12:40:07 -05:00
Makefile Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:30 -05:00
manage-ag.sgml Modify CREATE DATABASE to enforce that the source database's encoding setting 2009-05-06 16:15:21 +00:00
mk_feature_tables.pl Update feature list for SQL:2008. 2008-10-18 00:35:32 +00:00
monitoring.sgml IP port -> TCP port 2010-04-15 20:47:47 +00:00
mvcc.sgml Remove stray semicolon, per report from strk 2010-02-24 14:11:40 +00:00
nls.sgml Update ISO 3166 link 2012-12-08 07:41:56 -05:00
notation.sgml Make $PostgreSQL CVS tags consistent for SGML files. 2006-03-10 19:10:50 +00:00
oid2name.sgml Remove the -P options of oid2name and pgbench, as they are security 2007-12-11 02:31:49 +00:00
pageinspect.sgml Fix contrib/pageinspect to not create an ABI breakage between 8.3 and 8.4. 2009-06-08 16:22:44 +00:00
perform.sgml Fix grammar 2010-07-26 20:29:09 +00:00
pgbench.sgml Change pgbench to use the table names pgbench_accounts, pgbench_branches, 2009-05-07 22:01:18 +00:00
pgbuffercache.sgml Refer to tables by id, not by "the following table", because tables are in 2009-05-18 11:08:24 +00:00
pgcrypto.sgml Add link and additional index reference to pgcrypto. 2010-08-15 01:57:21 +00:00
pgfreespacemap.sgml Make the blkno arguments bigints instead of int4s. A signed int4 is not 2008-10-02 12:20:50 +00:00
pgrowlocks.sgml Refer to tables by id, not by "the following table", because tables are in 2009-05-18 11:08:24 +00:00
pgstandby.sgml Backpatch some blatant spelling mistakes 2010-08-17 04:49:33 +00:00
pgstatstatements.sgml Refer to tables by id, not by "the following table", because tables are in 2009-05-18 11:08:24 +00:00
pgstattuple.sgml Refer to tables by id, not by "the following table", because tables are in 2009-05-18 11:08:24 +00:00
pgtrgm.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-10 05:32:51 +00:00
planstats.sgml Update examples in planstats.sgml for 8.3, and improve some aspects of 2007-12-28 21:03:31 +00:00
plhandler.sgml Remove emacs info from footer of SGML files. 2006-09-16 00:30:20 +00:00
plperl.sgml Use a separate interpreter for each calling SQL userid in plperl and pltcl. 2010-09-30 17:20:25 -04:00
plpgsql.sgml Fix typo in PL/pgsql code example. 2010-07-27 20:02:27 +00:00
plpython.sgml Update URL to Python bug tracker. Backpatch to 8.3; doesn't seem worthy of 2009-03-30 16:15:43 +00:00
pltcl.sgml Use a separate interpreter for each calling SQL userid in plperl and pltcl. 2010-09-30 17:20:25 -04:00
postgres.sgml Remove anonymous cvs instructions, and replace them with instructions 2010-09-22 20:10:32 +02:00
problems.sgml Remove anonymous cvs instructions, and replace them with instructions 2010-09-22 20:10:32 +02:00
protocol.sgml Add a new GUC variable called "IntervalStyle" that decouples interval output 2008-11-09 00:28:35 +00:00
queries.sgml Provide adequate documentation of the "table_name *" notation. 2012-09-17 14:59:46 -04:00
query.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
README.links Update link guidelines. 2009-01-10 16:58:39 +00:00
reference.ced Deprecate 'current' for date/time input. 2001-11-21 05:53:41 +00:00
reference.sgml SQL/MED catalog manipulation facilities 2008-12-19 16:25:19 +00:00
regress.sgml Revert "Secure Unix-domain sockets of "make check" temporary clusters." 2014-03-29 03:14:50 -04:00
release-7.4.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release-8.0.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release-8.1.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release-8.2.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release-8.3.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release-8.4.sgml Release notes for 9.3.4, 9.2.8, 9.1.13, 9.0.17, 8.4.21. 2014-03-17 15:28:38 -04:00
release-old.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:32 -05:00
release.sgml Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:30 -05:00
rowtypes.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
rules.sgml Warn that views can be safely used to hide columns, but not rows. 2010-10-08 09:16:20 -04:00
runtime.sgml Fix examples of how to use "su" while starting the server. 2012-09-25 13:53:07 -04:00
seg.sgml Fix a couple of broken links to third-party sites. 2009-12-08 20:08:37 +00:00
sourcerepo.sgml Do some copy-editing on the Git usage docs. 2010-09-22 20:22:42 -04:00
sources.sgml Improve the recently-added support for properly pluralized error messages 2009-06-04 18:33:08 +00:00
spi.sgml Add new SPI_OK_REWRITTEN return code to SPI_execute and friends, for the 2009-01-21 11:02:40 +00:00
sql.sgml Proofreading adjustments for first two parts of documentation (Tutorial 2009-04-27 16:27:36 +00:00
sslinfo.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
standalone-install.sgml Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:30 -05:00
start.sgml Correct "characters" to "bytes" in createdb docs. 2011-03-27 21:29:12 -04:00
storage.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
stylesheet-common.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet-fo.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet-hh.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
stylesheet-man.xsl Experimental new support for building man pages via docbook2x, an XSL-based 2008-11-04 14:58:22 +00:00
stylesheet.css Override upstream DSSSL style sheet formatting changes 2004-06-29 20:44:34 +00:00
stylesheet.dsl Disable LOT for the time being because of TeX problems 2007-12-28 11:14:19 +00:00
stylesheet.xsl Reorganize XSLT stylesheet support. Put common things into a separate 2006-12-10 16:01:06 +00:00
syntax.sgml Improve the error message given for modifying a window with frame clause. 2013-11-05 21:58:26 -05:00
tablefunc.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
test-parser.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
textsearch.sgml Proofreading for Bruce's recent round of documentation proofreading. 2009-06-17 21:58:49 +00:00
trigger.sgml Update struct Trigger in docs 2012-03-20 15:32:39 -03:00
tsearch2.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
typeconv.sgml Update type-conversion documentation for long-ago changes. 2011-09-06 12:15:13 -04:00
user-manag.sgml Remove support for (insecure) crypt authentication. 2008-10-28 12:10:44 +00:00
uuid-ossp.sgml Make an editorial pass over the newly SGML-ified contrib documentation. 2007-12-06 04:12:10 +00:00
vacuumlo.sgml Add a -w/--no-password option that prevents all password prompts to all 2009-02-26 16:02:39 +00:00
wal.sgml Add mention of using tools/fsync to test fsync methods. Restructure 2010-10-19 15:49:53 +00:00
xaggr.sgml Improve user-defined-aggregates documentation. 2011-03-23 16:57:33 -04:00
xfunc.sgml Fix indexterm spelling 2010-08-06 20:09:00 +00:00
xindex.sgml Desultorily enclose programlisting tags in CDATA, to get rid of some obnoxious 2008-12-07 23:46:39 +00:00
xml2.sgml doc: Fix markup typo 2013-02-25 18:00:30 -05:00
xoper.sgml spell checker run 2007-11-28 15:42:31 +00:00
xplang.sgml Consistenly use colons before '<programlisting>' blocks, where 2007-02-01 00:28:19 +00:00
xtypes.sgml Desultorily enclose programlisting tags in CDATA, to get rid of some obnoxious 2008-12-07 23:46:39 +00:00

<!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.3 2009/01/10 16:58:39 momjian Exp $ -->

Linking within SGML documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get link text from the title of the target link; has no
	close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

o  If you want to supply text, use <link>, else <xref>
o  Do not use text with <ulink> so the URL appears in printed output
o  You can supply text at the target location with 'xreflabel'