postgresql/doc/src/sgml
Tom Lane 5df99f6481 Improve FILES section of psql reference page.
Primarily, explain where to find the system-wide psqlrc file, per recent
gripe from John Sutton.  Do some general wordsmithing and improve the
markup, too.

Also adjust psqlrc.sample so its comments about file location are somewhat
trustworthy.  (Not sure why we bother with this file when it's empty,
but whatever.)

Back-patch to 9.2 where the startup file naming scheme was last changed.
2014-01-14 19:27:57 -05:00
..
ref Improve FILES section of psql reference page. 2014-01-14 19:27:57 -05:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
acronyms.sgml Add SP-GiST (space-partitioned GiST) index access method. 2011-12-17 16:42:30 -05:00
adminpack.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
advanced.sgml doc: split long query into multiple lines 2013-12-04 10:03:13 -05:00
arch-dev.sgml doc: Fix claim that query is passed as ASCII text 2013-05-30 21:09:27 -04:00
array.sgml Document that && can be used to search arrays. 2012-06-22 08:59:41 -04:00
auth-delay.sgml Remove the custom_variable_classes parameter. 2011-10-04 12:36:55 -04:00
auto-explain.sgml Document how auto_explain.log_timing can be changed. 2013-08-09 22:13:28 +09:00
backup.sgml Add new wal_level, logical, sufficient for logical decoding. 2013-12-10 19:01:40 -05:00
bgworker.sgml Provide a reliable mechanism for terminating a background worker. 2013-10-18 10:23:11 -04:00
biblio.sgml Properly capitalize hyphenated words in documentation titles. 2011-02-01 17:00:26 -05:00
bki.sgml Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
btree-gin.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
btree-gist.sgml Spell checking and markup refinement 2011-05-19 01:14:45 +03:00
catalogs.sgml Fix alphabetization in catalogs.sgml. 2013-12-30 13:27:51 -05:00
charset.sgml doc: Remove i18ngurus.com link 2013-07-02 20:32:09 -04:00
chkpass.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
citext.sgml Make citext's equality and hashing functions collation-insensitive. 2011-06-08 15:25:02 -04:00
client-auth.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
config.sgml Revise documentation for new freezing method. 2013-12-23 20:36:31 -05:00
contacts.sgml Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
contrib-spi.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
contrib.sgml Documentation for test_shm_mq. 2014-01-14 15:58:15 -05:00
cube.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
datatype.sgml doc: Put data types in alphabetical order 2013-11-27 21:50:27 -05:00
datetime.sgml Improve documentation around historical calendar rules. 2012-04-26 18:28:52 -04:00
dblink.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
ddl.sgml doc: Add IDs to link targets used by phpPgAdmin 2013-05-07 21:23:21 -04:00
dfunc.sgml Remove IRIX port. 2013-10-18 08:14:21 -04:00
dict-int.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
dict-xsyn.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
diskusage.sgml Get rid of pg_class.reltoastidxid. 2013-07-04 03:24:09 +09:00
dml.sgml Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
docguide.sgml doc: A few awkward phrasing fixes 2013-03-03 08:49:49 -05:00
dummy-seclabel.sgml Fix typo in dummy_seclabel documentation. 2011-10-13 12:16:07 -04:00
earthdistance.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
ecpg.sgml Documentation fix for ecpg. 2013-11-27 11:03:59 +01:00
errcodes.sgml Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
event-trigger.sgml Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00
extend.sgml Fix more instances of "the the" in comments. 2013-12-13 20:02:01 +02:00
external-projects.sgml doc: Correct psycopg URL 2013-10-02 21:33:26 -04:00
fdwhandler.sgml Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
features.sgml Update SQL features/conformance information to SQL:2011 2012-05-17 09:50:04 +03:00
file-fdw.sgml doc: Clarify that file_fdw options require values. 2013-09-23 14:57:01 -04:00
filelist.sgml Documentation for test_shm_mq. 2014-01-14 15:58:15 -05:00
fixrtf Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
func.sgml Add OVERLAPS to index in the docs. 2014-01-13 15:16:26 +02:00
fuzzystrmatch.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
generate_history.pl Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
generate-errcodes-table.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
geqo.sgml doc: Improve setup for documentation building with FOP 2013-10-21 06:43:08 -04:00
gin.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
gist.sgml Documentation spell and markup checking 2012-06-08 00:06:20 +03:00
high-availability.sgml Add new wal_level, logical, sufficient for logical decoding. 2013-12-10 19:01:40 -05:00
history.sgml Add small doc mention that libpq is named after POSTQUEL. 2012-09-02 08:42:03 -04:00
hstore.sgml doc: fix hstore_to_json_loose() doc wording 2013-10-02 19:25:30 -04:00
indexam.sgml Use an MVCC snapshot, rather than SnapshotNow, for catalog scans. 2013-07-02 09:47:01 -04:00
indices.sgml Use the term "radix tree" instead of "suffix tree" for SP-GiST text opclass. 2013-05-08 14:34:26 +03:00
info.sgml Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
information_schema.sgml Implement information_schema.parameters.parameter_default column 2013-11-26 23:21:35 -05:00
install-windows.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
installation.sgml configure: Allow adding a custom string to PG_VERSION 2013-12-12 22:01:27 -05:00
intagg.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
intarray.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
intro.sgml Support automatically-updatable views. 2012-12-08 18:26:21 -05:00
isn.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
jadetex.cfg Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
keywords.sgml Implement the FILTER clause for aggregate function calls. 2013-07-16 20:15:36 -04:00
legal.sgml Update copyright for 2014 2014-01-07 16:05:30 -05:00
libpq.sgml docs: clarify SSL certificate authority chain docs 2013-12-06 09:42:08 -05:00
lo.sgml Add more limited large object trigger example. 2012-08-14 23:25:20 -04:00
lobj.sgml Update copyright for 2014 2014-01-07 16:05:30 -05:00
ltree.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
maintenance.sgml Revise documentation for new freezing method. 2013-12-23 20:36:31 -05:00
Makefile doc: Allow selecting web site CSS style sheet in XSLT HTML build 2013-11-28 22:45:08 -05:00
manage-ag.sgml Fix inaccurate description of tablespace. 2013-07-31 22:35:12 +09:00
mk_feature_tables.pl Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
monitoring.sgml Expose the estimation of number of changed tuples since last analyze 2013-07-05 15:10:15 +02:00
mvcc.sgml Minor correction of READ COMMITTED isolation level docs. 2013-11-27 14:34:12 -06:00
nls.sgml doc: Improve setup for documentation building with FOP 2013-10-21 06:43:08 -04:00
notation.sgml doc: Remove paragraph about typesetting conventions 2013-05-31 22:45:03 -04:00
oid2name.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
pageinspect.sgml Fix mention of htup.h in pageinspect docs 2013-07-08 17:13:18 -04:00
passwordcheck.sgml In documentation, change "recommendable" to "recommended", per 2012-08-14 12:36:48 -04:00
perform.sgml Update "Using EXPLAIN" documentation examples using current code. 2013-09-01 19:43:02 -04:00
pg_xlogdump.sgml Fix some typos and grammatical mistakes 2013-02-22 18:52:59 -03:00
pgarchivecleanup.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
pgbench.sgml Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00
pgbuffercache.sgml pg_buffercache docs: adjust order of fields 2013-11-27 22:33:59 -05:00
pgcrypto.sgml doc: Fix DocBook table column count declaration 2013-12-10 21:47:45 -05:00
pgfreespacemap.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
pgprewarm.sgml pg_prewarm, a contrib module for prewarming relationd data. 2013-12-20 08:14:13 -05:00
pgrowlocks.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
pgstandby.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
pgstatstatements.sgml Fix double "the" in the documentation 2013-12-13 15:01:56 +01:00
pgstattuple.sgml pgstattuple: Doc update for previous commit. 2013-07-25 16:36:49 -04:00
pgtestfsync.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
pgtesttiming.sgml Clarify FreeBSD instructions in pg_test_timing. 2012-08-30 18:38:00 -04:00
pgtrgm.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
pgupgrade.sgml pg_upgrade doc: link mode additions 2013-10-05 10:18:25 -04:00
planstats.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
plhandler.sgml Don't fail for bad GUCs in CREATE FUNCTION with check_function_bodies off. 2013-09-03 18:32:20 -04:00
plperl.sgml PL/Perl: Add event trigger support 2013-12-11 08:11:59 -05:00
plpgsql.sgml Revert fd2ace8028 2014-01-11 14:00:47 -05:00
plpython.sgml PL/Python: Convert numeric to Decimal 2013-07-05 22:41:25 -04:00
pltcl.sgml PL/Tcl: Add event trigger support 2013-11-23 21:32:00 -05:00
postgres-fdw.sgml Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
postgres.sgml doc: Add id to index in XSLT build 2013-11-26 23:02:40 -05:00
problems.sgml Use "backend process" rather than "backend server", where appropriate. 2011-03-12 09:38:56 -05:00
protocol.sgml Expose object name error fields in PL/pgSQL. 2013-07-03 07:29:56 -04:00
queries.sgml Rename TABLE() to ROWS FROM(). 2013-12-10 09:34:37 -05:00
query.sgml Use "backend process" rather than "backend server", where appropriate. 2011-03-12 09:38:56 -05:00
rangetypes.sgml Improve Range Types and Exclusion Constraints example. 2013-09-04 23:30:27 -07:00
README.links Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
recovery-config.sgml Fix typo in docs for min_recovery_apply_delay. 2013-12-19 19:22:29 +09:00
reference.sgml Add ALTER SYSTEM command to edit the server configuration file. 2013-12-18 23:42:44 +09:00
regress.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
release-7.4.sgml Lots of doc corrections. 2012-04-23 22:43:09 -04:00
release-8.0.sgml Lots of doc corrections. 2012-04-23 22:43:09 -04:00
release-8.1.sgml Lots of doc corrections. 2012-04-23 22:43:09 -04:00
release-8.2.sgml Lots of doc corrections. 2012-04-23 22:43:09 -04:00
release-8.3.sgml Prevent execution of enum_recv() from SQL. 2013-02-04 16:25:01 -05:00
release-8.4.sgml Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19. 2013-12-02 15:53:55 -05:00
release-9.0.sgml Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19. 2013-12-02 15:53:55 -05:00
release-9.1.sgml Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19. 2013-12-02 15:53:55 -05:00
release-9.2.sgml Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19. 2013-12-02 15:53:55 -05:00
release-9.3.sgml Update release notes for 9.3.2, 9.2.6, 9.1.11, 9.0.15, 8.4.19. 2013-12-02 15:53:55 -05:00
release-old.sgml MacOS -> Mac OS 2011-08-17 10:05:22 +03:00
release.sgml 9.3 release notes: add markup for text 2013-05-03 14:48:24 -04:00
rowtypes.sgml Further review of range-types patch. 2011-11-18 18:24:32 -05:00
rules.sgml Eliminate trivial whitespace inconsistency in docs sample code. 2013-03-21 10:34:47 -05:00
runtime.sgml docs: update partition encryption options 2013-12-06 09:47:39 -05:00
seg.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
sepgsql.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
sourcerepo.sgml Properly capitalize documentation headings; some only had initial-word 2011-01-29 13:01:48 -05:00
sources.sgml Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00
spgist.sgml Use the term "radix tree" instead of "suffix tree" for SP-GiST text opclass. 2013-05-08 14:34:26 +03:00
spi.sgml Prevent leakage of SPI tuple tables during subtransaction abort. 2013-07-25 16:46:14 -04:00
sql.sgml doc: Fix for too many brackets in command synopses on man pages 2012-05-03 22:58:00 +03:00
sslinfo.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
standalone-install.sgml Uppercase <!ENTITY> and <!DOCTYPE> tags in SGML source 2011-04-04 16:09:10 -04:00
start.sgml Remove mention of using "man" from the tutorial. 2011-04-03 19:49:05 -04:00
storage.sgml Add ALTER SYSTEM command to edit the server configuration file. 2013-12-18 23:42:44 +09:00
stylesheet-common.xsl doc: Disable preface.autolabel in XSLT 2013-12-01 17:13:23 -05:00
stylesheet-fo.xsl doc: Improve setup for documentation building with FOP 2013-10-21 06:43:08 -04:00
stylesheet-hh.xsl Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03:00
stylesheet-man.xsl Show step titles in the pg_upgrade man page 2012-07-17 21:34:22 +03:00
stylesheet.css Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
stylesheet.dsl Untabify DSSSL and XSL files and add to check-tabs target 2012-04-19 22:38:14 +03:00
stylesheet.xsl doc: Simplify handling of variablelists in XSLT build 2013-11-29 22:42:47 -05:00
syntax.sgml Support ordered-set (WITHIN GROUP) aggregates. 2013-12-23 16:11:35 -05:00
tablefunc.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
tcn.sgml Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
test-parser.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
test-shm-mq.sgml Documentation for test_shm_mq. 2014-01-14 15:58:15 -05:00
textsearch.sgml doc: Fix <synopsis> in <term> markup 2013-06-07 22:00:59 -04:00
trigger.sgml Fix trigger example code to match header changes 2012-03-20 16:50:18 -03:00
tsearch2.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
typeconv.sgml Extend the unknowns-are-same-as-known-inputs type resolution heuristic. 2011-11-17 18:28:41 -05:00
unaccent.sgml Add xreflabels to /contrib manuals so links appear correct. Also update 2011-05-07 22:29:20 -04:00
user-manag.sgml Make superuser imply replication privilege. The idea of a privilege that 2012-01-14 18:22:16 +02:00
uuid-ossp.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
vacuumlo.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
wal.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
xaggr.sgml Support ordered-set (WITHIN GROUP) aggregates. 2013-12-23 16:11:35 -05:00
xfunc.sgml Fix concat() and format() to handle VARIADIC-labeled arguments correctly. 2013-01-25 00:19:56 -05:00
xindex.sgml Add SP-GiST (space-partitioned GiST) index access method. 2011-12-17 16:42:30 -05:00
xml2.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
xoper.sgml Properly capitalize hyphenated words in documentation titles. 2011-02-01 17:00:26 -05:00
xplang.sgml Update documentation to reflect that standard PLs are now extensions. 2011-03-05 01:08:38 -05:00
xtypes.sgml Add more use of psprintf() 2014-01-06 21:30:26 -05:00

<!-- doc/src/sgml/README.links -->

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


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

<xref>
	use to get chapter/section # from the title of the target
	link, or xreflabel if defined at the target; 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  Specific nouns like GUC variables, SQL commands, and contrib modules
   usually have xreflabels