postgresql/doc/src/sgml
Joe Conway c176997049 Fix documentation for dblink_error_message() return value
The dblink documentation claims that an empty string is returned if there
has been no error, however OK is actually returned in that case. Also,
clarify that an async error may not be seen unless dblink_is_busy() or
dblink_get_result() have been called first.

Backpatch to all supported branches.

Reported-by: realyota
Backpatch-through: 9.4
Discussion: https://postgr.es/m/153371978486.1298.2091761143788088262@wrigleys.postgresql.org
2019-02-17 13:17:28 -05:00
..
ref Improve wording about WAL files in tar mode of pg_basebackup 2019-01-29 10:44:29 +01:00
.gitignore git-ignore intermediate files from new docs toolchain. 2017-05-15 15:48:40 -04:00
acronyms.sgml Replace search.cpan.org with metacpan.org 2018-06-29 22:17:37 +09:00
adminpack.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
advanced.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
amcheck.sgml Doc: Correct description of amcheck example query. 2018-08-08 12:56:28 -07:00
arch-dev.sgml
array.sgml docs: remove use of escape strings and use bytea hex output 2018-09-21 19:55:07 -04:00
auth-delay.sgml
auto-explain.sgml Rename auto_explain.sample_ratio to sample_rate 2016-03-13 13:18:03 +01:00
backup.sgml Fix documentation bug related to backup history file. 2018-06-27 00:49:47 +09:00
bgworker.sgml Don't use bgw_main even to specify in-core bgworker entrypoints. 2017-03-31 20:43:32 -04:00
biblio.sgml doc: Clean up bibliography rendering for XSLT 2017-03-26 14:54:56 -04:00
bki.sgml
bloom.sgml Fix some grammar errors in bloom.sgml 2018-10-22 00:27:45 +03:00
brin.sgml Log when a BRIN autosummarization request fails 2018-03-14 12:00:53 -03:00
btree-gin.sgml Document btree_gin support for enums 2017-03-21 11:11:42 -04:00
btree-gist.sgml Add btree_gist support for enum types. 2017-03-21 10:43:27 -04:00
catalogs.sgml Add 'n' to list of possible values to pg_default_acl.defaclobjtype 2018-08-03 16:45:08 -04:00
charset.sgml Doc: fix oversights in "Client/Server Character Set Conversions" table. 2018-09-01 16:02:47 -04:00
chkpass.sgml
citext.sgml Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
client-auth.sgml Grammar typo in security warning about md5 2017-11-03 10:49:14 -04:00
config.sgml doc: document that INFO messages always go to client. 2019-01-07 18:58:30 +00:00
contacts.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
contrib-spi.sgml doc: in contrib-spi, mention and link to the meaning of SPI 2018-01-31 16:54:33 -05:00
contrib.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:47 -08:00
cube.sgml Fix behavior of ~> (cube, int) operator 2018-01-11 14:42:16 +03:00
custom-scan.sgml Call set_rel_pathlist_hook before generate_gather_paths, not after. 2019-02-09 11:41:09 -05:00
datatype.sgml Doc: fix thinko in description of how to escape a backslash in bytea. 2019-02-08 12:49:36 -05:00
datetime.sgml Document handling of invalid/ambiguous timestamp input near DST boundaries. 2018-11-29 18:28:10 -05:00
dblink.sgml Fix documentation for dblink_error_message() return value 2019-02-17 13:17:28 -05:00
ddl.sgml Doc: fix oversimplified example for CREATE POLICY. 2018-07-30 11:54:41 -04:00
dfunc.sgml Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:55 -04:00
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml
dml.sgml Fix typo 2018-06-20 16:07:07 +02:00
docguide.sgml doc: Update memory requirements for FOP 2017-12-05 15:41:59 -05:00
earthdistance.sgml Doc: update external URLs for PostGIS project. 2015-12-12 20:02:09 -05:00
ecpg.sgml Add PGTYPESchar_free() to avoid cross-module problems on Windows. 2018-06-26 19:49:52 +12:00
errcodes.sgml
event-trigger.sgml Mention CREATE/DROP STATISTICS in event triggers docs 2017-11-13 19:35:43 +01:00
extend.sgml Add PG_CFLAGS, PG_CXXFLAGS, and PG_LDFLAGS variables to PGXS 2019-02-03 17:48:46 +09:00
external-projects.sgml docs: Remove "New" description of the libpqxx interface 2018-07-13 11:16:55 -04:00
fdwhandler.sgml Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:09 -05:00
features.sgml
file-fdw.sgml Change default of log_directory to 'log' 2017-03-27 10:34:33 -04:00
filelist.sgml Doc: in each release branch, keep only that branch's own release notes. 2019-02-04 19:18:50 -05:00
func.sgml Fix typos in documentation and for one wait event 2019-01-15 08:47:14 +09:00
fuzzystrmatch.sgml Improve levenshtein() docs. 2016-01-22 12:29:07 -05:00
generate-errcodes-table.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
generic-wal.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
geqo.sgml
gin.sgml Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -04:00
gist.sgml Fix assorted inconsistencies in GiST opclass support function declarations. 2016-01-19 12:04:36 -05:00
high-availability.sgml Allow UNLISTEN in hot-standby mode. 2019-01-25 21:14:31 -05:00
history.sgml
hstore.sgml Add hstore_to_jsonb() and hstore_to_jsonb_loose() to hstore documentation. 2016-02-03 12:57:13 -05:00
indexam.sgml Fix memory leak in repeated SPGIST index scans. 2018-10-31 17:04:43 -04:00
indices.sgml hash: Add write-ahead logging support. 2017-03-14 13:27:02 -04:00
info.sgml Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
information_schema.sgml doc: add doc link for 'applicable_roles' 2018-08-25 13:01:24 -04:00
install-windows.sgml Replace search.cpan.org with metacpan.org 2018-06-29 22:17:37 +09:00
installation.sgml Replace references to mailinglists with @lists.postgresql.org 2019-01-17 13:52:51 +01:00
intagg.sgml
intarray.sgml doc: remove GIN vs. GiST performance mention 2016-06-28 16:00:40 -04:00
intro.sgml
isn.sgml
json.sgml doc: Update RFC URLs 2017-08-17 11:47:43 -04:00
keywords.sgml Update key words table for version 10 2017-06-08 17:19:50 -04:00
legal.sgml Update copyright for 2019 2019-01-02 12:44:25 -05:00
libpq.sgml Fix typos in documentation and for one wait event 2019-01-15 08:47:14 +09:00
lo.sgml
lobj.sgml Fix some spelling errors in the documentation 2018-11-02 13:58:12 +01:00
logical-replication.sgml doc: Improve wording and fix whitespace 2018-07-05 08:20:15 +02:00
logicaldecoding.sgml doc: Fix index link 2018-02-02 21:11:41 -05:00
ltree.sgml Fix crash in contrib/ltree's lca() function for empty input array. 2018-07-13 18:45:30 -04:00
maintenance.sgml Update project link of pgBadger in documentation 2018-12-18 10:03:00 +09:00
Makefile Add -wnet to SP invocations 2017-11-10 08:31:38 -05:00
manage-ag.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
mk_feature_tables.pl Clean up Perl code according to perlcritic 2017-03-27 08:18:22 -04:00
monitoring.sgml Fix CLogTruncationLock documentation. 2019-02-17 00:52:02 -08:00
mvcc.sgml Add GUCs for predicate lock promotion thresholds. 2017-04-07 21:38:05 -05:00
nls.sgml Use gender-neutral language in documentation 2015-09-21 22:57:29 -04:00
notation.sgml
oid2name.sgml
pageinspect.sgml Fix sample output for hash_metapage_info query 2018-11-26 17:23:37 -03:00
parallel.sgml Proof-reading for documentation. 2018-08-17 11:38:44 +12:00
passwordcheck.sgml
perform.sgml Improve planner stats documentation 2018-12-06 11:38:56 -05:00
pgbuffercache.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
pgcrypto.sgml doc: Update broken links 2018-09-13 08:49:28 +02:00
pgfreespacemap.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
pgprewarm.sgml Small grammar fix 2015-08-31 14:07:17 +02:00
pgrowlocks.sgml Fix documentation of pgrowlocks using "lock_type" instead of "modes" 2018-10-02 16:35:25 +09:00
pgstandby.sgml Replace references to "xlog" with "wal" in docs. 2017-02-14 02:30:46 +09:00
pgstatstatements.sgml Fix broken markup. 2017-03-30 17:13:44 -04:00
pgstattuple.sgml hash: Increase the number of possible overflow bitmaps by 8x. 2017-08-04 16:30:32 -04:00
pgtrgm.sgml doc: wording fix 2018-09-06 20:42:24 -04:00
pgvisibility.sgml Default monitoring roles 2017-03-30 14:18:53 -04:00
planstats.sgml doc: Fix typo 2017-06-17 19:03:12 -04:00
plhandler.sgml Remove remaining references to version-0 calling convention in docs. 2018-05-02 17:51:32 +03:00
plperl.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
plpgsql.sgml doc: fix wording for plpgsql, add "and" 2018-11-26 19:41:25 -05:00
plpython.sgml docs: clarify plpython SD and GD dictionary behavior 2018-08-25 11:52:29 -04:00
pltcl.sgml Documentation spell checking and markup improvements 2017-06-18 14:02:12 -04:00
postgres-fdw.sgml When WCOs are present, disable direct foreign table modification. 2017-07-24 15:57:24 -04:00
postgres.sgml Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
problems.sgml Replace references to mailinglists with @lists.postgresql.org 2019-01-17 13:52:51 +01:00
protocol.sgml doc: Fix typo 2018-11-23 11:42:09 +01:00
queries.sgml Doc: clarify description of degenerate NATURAL joins. 2017-07-20 12:41:26 -04:00
query.sgml doc: Put callouts in SQL comments 2017-03-03 15:03:03 -05:00
rangetypes.sgml docs: Map operator @> to the proper SGML escape for '>' 2015-10-07 09:42:26 -04:00
README.links
recovery-config.sgml doc: Update text for new recovery_target_lsn setting 2017-11-04 14:44:16 -04:00
reference.sgml Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
regress.sgml Doc: remove claim that PROVE_FLAGS defaults to '--verbose'. 2017-07-10 00:44:05 -04:00
release-10.sgml Release notes for 11.2, 10.7, 9.6.12, 9.5.16, 9.4.21. 2019-02-10 15:44:04 -05:00
release.sgml Doc: in each release branch, keep only that branch's own release notes. 2019-02-04 19:18:50 -05:00
replication-origins.sgml Fix ordering/categorization of some recently-added system views. 2016-05-05 12:33:29 -04:00
rowtypes.sgml docs: remove use of escape strings and use bytea hex output 2018-09-21 19:55:07 -04:00
rules.sgml Doc: remove ancient comment. 2019-02-17 20:40:43 +09:00
runtime.sgml Doc: update our docs about kernel IPC parameters on *BSD. 2019-01-08 12:03:54 -05:00
seg.sgml docs: HTML-escape '>' in '=>' using HTML entities 2015-08-05 23:03:45 -04:00
sepgsql.sgml Update some dead external links in the documentation 2017-09-18 11:09:28 -04:00
sourcerepo.sgml Change default git repo URL to https 2018-02-07 11:03:55 +01:00
sources.sgml Fix typo in sources.sgml. 2016-10-31 07:33:00 +09:00
spgist.sgml Make another editorial pass over the 9.6 release notes. 2016-08-28 17:40:06 -04:00
spi.sgml Doc: fix incorrect example of collecting arguments with fmgr macros. 2018-12-19 11:02:08 -05:00
sslinfo.sgml Don't mention SSL methods that aren't reachable in docs 2017-07-03 16:16:35 +01:00
standalone-install.sgml
start.sgml doc: Update version() and current_date output in tutorial 2016-05-31 16:45:02 -04:00
storage.sgml Revert "Fix typo in documentation of toast storage" 2018-11-26 16:44:41 +09:00
stylesheet-common.xsl doc: Turn on generate.consistent.ids parameter 2017-12-05 09:01:39 -05:00
stylesheet-fo.xsl doc: Improve PDF bookmarks 2017-08-15 14:47:03 -04:00
stylesheet-hh.xsl Replace references to mailinglists with @lists.postgresql.org 2019-01-17 13:52:51 +01:00
stylesheet-html-common.xsl Replace references to mailinglists with @lists.postgresql.org 2019-01-17 13:52:51 +01:00
stylesheet-html-nochunk.xsl Remove use of Jade and DSSSL 2017-04-06 22:09:11 -04:00
stylesheet-man.xsl Fix warnings in man page build 2018-03-08 12:23:05 -05:00
stylesheet-speedup-common.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-speedup-xhtml.xsl doc: Further speed improvements for HTML XSLT build 2016-12-22 15:41:44 -05:00
stylesheet-text.xsl Create INSTALL file via XSLT 2017-03-08 08:41:23 -05:00
stylesheet.css doc: Tweak CSS 2017-04-12 15:41:41 -04:00
stylesheet.xsl Change documentation references to PG website to use https: not http: 2017-05-20 21:50:47 -04:00
syntax.sgml Document security implications of qualified names. 2018-07-28 20:08:21 -07:00
tablefunc.sgml Improve documentation for \crosstabview. 2016-04-13 11:49:47 -04:00
tablesample-method.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
tcn.sgml
test-decoding.sgml doc: Fix reference to "decoder" to instead be the correct "output plugin". 2018-07-24 10:51:09 -07:00
textsearch.sgml Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
trigger.sgml Doc: note that statement-level view triggers require an INSTEAD OF trigger. 2018-03-18 15:10:28 -04:00
tsm-system-rows.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
tsm-system-time.sgml Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
typeconv.sgml Document security implications of qualified names. 2018-07-28 20:08:21 -07:00
unaccent.sgml Make contrib/unaccent's unaccent() function work when not in search path. 2018-09-06 10:49:45 -04:00
user-manag.sgml Document security implications of search_path and the public schema. 2018-02-26 07:39:47 -08:00
uuid-ossp.sgml Refer to OS X as "macOS", except for the port name which is still "darwin". 2016-09-25 15:40:57 -04:00
vacuumlo.sgml
wal.sgml Fix grammar in documentation related to checkpoint_flush_after 2018-06-11 09:57:09 +09:00
xaggr.sgml Improve speed of aggregates that use array_append as transition function. 2016-10-30 12:27:41 -04:00
xfunc.sgml Document security implications of qualified names. 2018-07-28 20:08:21 -07:00
xindex.sgml Replace the built-in GIN array opclasses with a single polymorphic opclass. 2016-09-26 14:52:44 -04:00
xml2.sgml Replace references to mailinglists with @lists.postgresql.org 2019-01-17 13:52:51 +01:00
xoper.sgml
xplang.sgml Remove createlang and droplang 2017-03-23 14:16:45 -04:00
xtypes.sgml

<!-- 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 number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  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