postgresql/doc/src/sgml
Andrew Dunstan 0ad1a81632 Do not escape a unicode sequence when escaping JSON text.
Previously, any backslash in text being escaped for JSON was doubled so
that the result was still valid JSON. However, this led to some perverse
results in the case of Unicode sequences, These are now detected and the
initial backslash is no longer escaped. All other backslashes are
still escaped. No validity check is performed, all that is looked for is
\uXXXX where X is a hexidecimal digit.

This is a change from the 9.2 and 9.3 behaviour as noted in the Release
notes.

Per complaint from Teodor Sigaev.
2014-06-03 16:11:31 -04:00
..
ref Misc message style and doc fixes. 2014-05-15 14:49:11 +03:00
.gitignore Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
acronyms.sgml
adminpack.sgml
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 Add a cardinality function for arrays. 2014-01-21 12:38:53 -05:00
auth-delay.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
auto-explain.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
backup.sgml doc: Suggesting clearing pg_replslot from a hot filesystem backup. 2014-04-14 13:01:53 -04:00
bgworker.sgml When a background worker exists with code 0, unregister it. 2014-05-07 17:44:42 -04:00
biblio.sgml
bki.sgml
btree-gin.sgml
btree-gist.sgml
catalogs.sgml Documentation corrections for pg_replication_slots. 2014-04-30 22:55:16 -04:00
charset.sgml doc: Remove i18ngurus.com link 2013-07-02 20:32:09 -04:00
chkpass.sgml
citext.sgml
client-auth.sgml Doc: improve discussion of reverse+forward host name lookup in pg_hba.conf. 2014-04-01 15:20:38 -04:00
config.sgml doc: improve markup of ssl_ecdh_curve commit 2014-05-28 06:27:04 -04:00
contacts.sgml
contrib-spi.sgml
contrib.sgml Introduce logical decoding. 2014-03-03 16:32:18 -05:00
cube.sgml
datatype.sgml Add doc links to 9.4 release notes, and add major features list 2014-05-05 16:26:33 -04:00
datetime.sgml
dblink.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
ddl.sgml docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05:00
dfunc.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml Get rid of pg_class.reltoastidxid. 2013-07-04 03:24:09 +09:00
dml.sgml
docguide.sgml Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
dummy-seclabel.sgml
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 docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05:00
external-projects.sgml doc: Correct psycopg URL 2013-10-02 21:33:26 -04:00
fdwhandler.sgml doc: In FDW handler docs, mark up scan_clauses with <literal>. 2014-05-05 10:04:02 -04:00
features.sgml
file-fdw.sgml Provide a FORCE NULL option to COPY in CSV mode. 2014-03-04 17:31:59 -05:00
filelist.sgml Initial version of Postgres 9.4 release notes 2014-05-03 23:16:24 -04:00
fixrtf
func.sgml doc: fix JSON function prototype variable label 2014-06-02 16:18:45 -04:00
fuzzystrmatch.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -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 Rename jsonb_hash_ops to jsonb_path_ops. 2014-05-11 12:06:04 -04:00
gist.sgml Add an in-core GiST index opclass for inet/cidr types. 2014-04-08 15:46:43 -04:00
high-availability.sgml doc: Improve "replication slot" index entries 2014-04-22 15:22:10 -04:00
history.sgml
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 Add an in-core GiST index opclass for inet/cidr types. 2014-04-08 15:46:43 -04:00
info.sgml
information_schema.sgml Implement information_schema.parameters.parameter_default column 2013-11-26 23:21:35 -05:00
install-windows.sgml Provide for client-only installs with MSVC. 2014-01-26 17:03:13 -05:00
installation.sgml Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04: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
isn.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
jadetex.cfg
json.sgml Rename jsonb_hash_ops to jsonb_path_ops. 2014-05-11 12:06:04 -04: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 doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
lo.sgml
lobj.sgml Update copyright for 2014 2014-01-07 16:05:30 -05:00
logicaldecoding.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
ltree.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
maintenance.sgml Improve documentation about multixact IDs. 2014-02-17 12:20:57 -05:00
Makefile Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
manage-ag.sgml docs: tablespaces cannot be accessed independently 2014-04-19 10:52:49 -04:00
mk_feature_tables.pl
monitoring.sgml Fix incorrect column name in pg_stat_replication document. 2014-05-19 17:03:30 +09:00
mvcc.sgml Reduce lock levels of some ALTER TABLE cmds 2014-04-06 11:13:43 -04:00
nls.sgml Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
notation.sgml doc: Remove paragraph about typesetting conventions 2013-05-31 22:45:03 -04:00
oid2name.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pageinspect.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
passwordcheck.sgml Remove support for native krb5 authentication 2014-01-19 17:05:01 +01:00
perform.sgml Rename EXPLAIN ANALYZE's "total runtime" output to "execution time". 2014-04-16 20:48:59 -04:00
pg_xlogdump.sgml Add -f/--follow option to pg_xlogdump. 2014-03-26 13:48:20 +02:00
pgarchivecleanup.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pgbench.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pgbuffercache.sgml pg_buffercache docs: adjust order of fields 2013-11-27 22:33:59 -05:00
pgcrypto.sgml pgcrypto: clarify 'md5' (hash) table entry 2014-02-13 15:38:48 -05:00
pgfreespacemap.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
pgprewarm.sgml pg_prewarm, a contrib module for prewarming relationd data. 2013-12-20 08:14:13 -05:00
pgrowlocks.sgml docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05:00
pgstandby.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pgstatstatements.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
pgstattuple.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
pgtestfsync.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pgtesttiming.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
pgtrgm.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
pgupgrade.sgml docs: small adjustements to recent SELECT and pg_upgrade improvements 2014-03-08 11:26:47 -05:00
planstats.sgml Documentation spell checking and markup improvements 2013-05-20 21:13:13 -04:00
plhandler.sgml Document security implications of check_function_bodies. 2014-02-17 09:33:31 -05:00
plperl.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
plpgsql.sgml Extra warnings and errors for PL/pgSQL 2014-04-06 12:21:51 -04:00
plpython.sgml docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05:00
pltcl.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
postgres-fdw.sgml Add some examples to the postgres_fdw documentation. 2014-01-31 17:28:02 -05:00
postgres.sgml Documentation for logical decoding. 2014-03-18 13:20:01 -04:00
problems.sgml
protocol.sgml Improvements to the replication protocol documentation. 2014-05-31 15:58:04 +02:00
queries.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
query.sgml
rangetypes.sgml Improve Range Types and Exclusion Constraints example. 2013-09-04 23:30:27 -07:00
README.links docs: improve xref description for xreflabel and refentry links 2014-01-30 12:26:18 -05:00
recovery-config.sgml Rename min_recovery_apply_delay to recovery_min_apply_delay. 2014-05-10 19:46:19 -04:00
reference.sgml Documentation for logical decoding. 2014-03-18 13:20:01 -04:00
regress.sgml Add TAP tests for client programs 2014-04-14 21:33:46 -04:00
release-7.4.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -05:00
release-8.0.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -05:00
release-8.1.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -05:00
release-8.2.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -05:00
release-8.3.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -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:22 -04:00
release-9.0.sgml Release notes for 9.3.4, 9.2.8, 9.1.13, 9.0.17, 8.4.21. 2014-03-17 15:28:22 -04:00
release-9.1.sgml Release notes for 9.3.4, 9.2.8, 9.1.13, 9.0.17, 8.4.21. 2014-03-17 15:28:22 -04:00
release-9.2.sgml Release notes for 9.3.4, 9.2.8, 9.1.13, 9.0.17, 8.4.21. 2014-03-17 15:28:22 -04:00
release-9.3.sgml Improve user-facing JSON documentation. 2014-05-09 16:33:25 -04:00
release-9.4.sgml Do not escape a unicode sequence when escaping JSON text. 2014-06-03 16:11:31 -04:00
release-old.sgml Improve cross-references between minor version release notes. 2014-02-12 19:09:18 -05:00
release.sgml Initial version of Postgres 9.4 release notes 2014-05-03 23:16:24 -04:00
rowtypes.sgml
rules.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
runtime.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
seg.sgml
sepgsql.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
sourcerepo.sgml
sources.sgml Show PIDs of lock holders and waiters in log_lock_waits log message. 2014-03-13 03:26:47 +09:00
spgist.sgml Add an in-core GiST index opclass for inet/cidr types. 2014-04-08 15:46:43 -04:00
spi.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
sql.sgml
sslinfo.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
standalone-install.sgml Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
start.sgml
storage.sgml docs: remove unnecessary references to old PG versions 2014-02-24 12:56:37 -05: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
stylesheet-man.xsl
stylesheet.css
stylesheet.dsl doc: Clarify documentation page header customization code 2014-02-20 21:41:24 -05:00
stylesheet.xsl doc: Disable indentation of XHTML output 2014-02-05 23:49:25 -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
test-decoding.sgml test_decoding: Documentation fix. 2014-03-12 14:11:06 -04:00
test-parser.sgml
test-shm-mq.sgml Fix typo in test_shm_mq document. 2014-05-13 01:41:54 +09:00
textsearch.sgml doc: Fix DocBook XML validity 2014-05-06 21:28:58 -04:00
trigger.sgml Offer triggers on foreign tables. 2014-03-23 02:16:34 -04:00
tsearch2.sgml
typeconv.sgml
unaccent.sgml
user-manag.sgml
uuid-ossp.sgml Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
vacuumlo.sgml doc: Improve DocBook XML validity 2014-02-23 21:31:08 -05:00
wal.sgml doc: mention data page checksums in WAL section 2014-01-31 19:05:00 -05:00
xaggr.sgml Allow polymorphic aggregates to have non-polymorphic state data types. 2014-04-23 19:17:41 -04:00
xfunc.sgml Fix non-equivalence of VARIADIC and non-VARIADIC function call formats. 2014-04-03 22:02:24 -04:00
xindex.sgml Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
xml2.sgml Add contrib function references in the doc index 2013-07-04 11:33:11 -04:00
xoper.sgml
xplang.sgml
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 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