postgresql/doc/src/sgml
Tom Lane 3ccae48f44 Support indexing of regular-expression searches in contrib/pg_trgm.
This works by extracting trigrams from the given regular expression,
in generally the same spirit as the previously-existing support for
LIKE searches, though of course the details are far more complicated.

Currently, only GIN indexes are supported.  We might be able to make
it work with GiST indexes later.

The implementation includes adding API functions to backend/regex/
to provide a view of the search NFA created from a regular expression.
These functions are meant to be generic enough to be supportable in
a standalone version of the regex library, should that ever happen.

Alexander Korotkov, reviewed by Heikki Linnakangas and Tom Lane
2013-04-09 01:06:54 -04:00
..
ref Improve documentation about the relationship of extensions and schemas. 2013-04-04 22:37:25 -04:00
.gitignore
acronyms.sgml Add SP-GiST (space-partitioned GiST) index access method. 2011-12-17 16:42:30 -05:00
adminpack.sgml
advanced.sgml Revert: In docs, change a few cases of "not important" to 2012-08-16 11:26:40 -04:00
arch-dev.sgml
array.sgml Document that && can be used to search arrays. 2012-06-22 08:59:41 -04:00
auth-delay.sgml
auto-explain.sgml Fix wording, per Peter Geoghegan 2012-01-27 10:36:27 +01:00
backup.sgml Add parallel pg_dump option. 2013-03-24 11:27:20 -04:00
bgworker.sgml Docs shouldn't say HOT Standby. 2013-01-24 08:01:16 +00:00
biblio.sgml
bki.sgml
btree-gin.sgml
btree-gist.sgml
catalogs.sgml Add docs for pg_matviews, which were missed in the initial MV commit. 2013-03-06 15:35:59 -06:00
charset.sgml In documentation, change "recommendable" to "recommended", per 2012-08-14 12:36:48 -04:00
chkpass.sgml
citext.sgml
client-auth.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
config.sgml Revoke bc5334d867 2013-03-28 09:18:02 +00:00
contacts.sgml
contrib-spi.sgml
contrib.sgml Add pg_xlogdump contrib program 2013-02-22 16:56:55 -03:00
cube.sgml
datatype.sgml doc: Small tweak for consistency 2013-03-03 08:58:34 -05:00
datetime.sgml Improve documentation around historical calendar rules. 2012-04-26 18:28:52 -04:00
dblink.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
ddl.sgml Support writable foreign tables. 2013-03-10 14:16:02 -04:00
dfunc.sgml Remove BSD/OS (BSDi) port. There are no known users upgrading to 2012-05-03 10:58:44 -04:00
dict-int.sgml
dict-xsyn.sgml
diskusage.sgml
dml.sgml
docguide.sgml doc: A few awkward phrasing fixes 2013-03-03 08:49:49 -05:00
dummy-seclabel.sgml
earthdistance.sgml Fix typos in docs, some words were doubled. 2012-04-10 09:31:31 +03:00
ecpg.sgml Add pkg-config files for libpq and ecpg libraries 2013-03-31 16:58:40 -04:00
errcodes.sgml Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
event-trigger.sgml doc: Fix number of columns in table 2013-04-04 21:07:05 -04:00
extend.sgml Improve documentation about the relationship of extensions and schemas. 2013-04-04 22:37:25 -04:00
external-projects.sgml Remove references to pgfoundry as recommended hosting platform 2012-07-04 08:59:35 +02:00
fdwhandler.sgml Fix typo in FDW docs. 2013-04-03 10:26:18 -04:00
features.sgml Update SQL features/conformance information to SQL:2011 2012-05-17 09:50:04 +03:00
file-fdw.sgml Support writable foreign tables. 2013-03-10 14:16:02 -04:00
filelist.sgml Add pg_xlogdump contrib program 2013-02-22 16:56:55 -03:00
fixrtf
func.sgml Fix a few thinkos in the JSON functions docs. 2013-04-04 10:41:29 -04:00
fuzzystrmatch.sgml
generate_history.pl Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
generate-errcodes-table.pl Update copyrights for 2013 2013-01-01 17:15:01 -05:00
geqo.sgml
gin.sgml Documentation spell and markup checking 2012-06-08 00:06:20 +03:00
gist.sgml Documentation spell and markup checking 2012-06-08 00:06:20 +03:00
high-availability.sgml Clarify that streaming replication can be both async and sync 2013-01-20 16:10:12 +01:00
history.sgml Add small doc mention that libpq is named after POSTQUEL. 2012-09-02 08:42:03 -04:00
hstore.sgml JSON generation improvements. 2013-03-10 17:35:36 -04:00
indexam.sgml Documentation spell and markup checking 2012-06-08 00:06:20 +03:00
indices.sgml Fix typo in previous commit 2012-10-17 10:29:30 +01:00
info.sgml
information_schema.sgml Fix typo in information_schema documentation. 2012-09-05 23:37:42 -04:00
install-windows.sgml Enable building with Microsoft Visual Studio 2012. 2013-02-06 14:52:29 -05:00
installation.sgml doc: Rewrite how to get the source code 2013-02-07 23:28:42 -05:00
intagg.sgml
intarray.sgml
intro.sgml Support automatically-updatable views. 2012-12-08 18:26:21 -05:00
isn.sgml
jadetex.cfg
keywords.sgml Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
legal.sgml Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq.sgml Add pkg-config files for libpq and ecpg libraries 2013-03-31 16:58:40 -04:00
lo.sgml Add more limited large object trigger example. 2012-08-14 23:25:20 -04:00
lobj.sgml Fix lo_read, lo_write, lo_truncate to cope with "size_t" length parameters. 2012-10-08 21:19:53 -04:00
ltree.sgml Revert: In docs, change a few cases of "not important" to 2012-08-16 11:26:40 -04:00
maintenance.sgml Fix documentation reference to maximum allowed for autovacuum_freeze_max_age. 2012-09-16 11:59:50 -05:00
Makefile doc: Add make target to produce EPUB from DocBook 2013-02-13 23:12:21 -05:00
manage-ag.sgml In documentation, change "recommendable" to "recommended", per 2012-08-14 12:36:48 -04:00
mk_feature_tables.pl Run newly-configured perltidy script on Perl files. 2012-07-04 21:47:49 -04:00
monitoring.sgml doc: Add pg_stat_reset and related functions to index 2012-12-15 00:30:53 -05:00
mvcc.sgml doc: add mention of ssi read anomolies to mvcc docs 2013-01-24 21:44:54 -05:00
nls.sgml Update iso.org page link 2012-12-08 07:37:11 -05:00
notation.sgml
oid2name.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
pageinspect.sgml Remove PageSetTLI and rename pd_tli to pd_checksum 2013-03-18 13:46:42 +00:00
passwordcheck.sgml In documentation, change "recommendable" to "recommended", per 2012-08-14 12:36:48 -04:00
perform.sgml Add parallel pg_dump option. 2013-03-24 11:27:20 -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 Add --aggregate-interval option. 2013-01-31 15:53:58 +09:00
pgbuffercache.sgml
pgcrypto.sgml
pgfreespacemap.sgml doc: Replace "NOTE" with proper markup 2012-12-26 23:48:35 -05:00
pgrowlocks.sgml Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
pgstandby.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
pgstatstatements.sgml Rename I/O timing statistics columns to blk_read_time and blk_write_time. 2012-04-29 18:13:33 -04:00
pgstattuple.sgml Add pgstatginindex() function to get the size of the GIN pending list. 2012-12-05 09:58:03 +02:00
pgtestfsync.sgml Improve the documentation about commit_delay. 2013-03-15 17:41:47 -04:00
pgtesttiming.sgml Clarify FreeBSD instructions in pg_test_timing. 2012-08-30 18:38:00 -04:00
pgtrgm.sgml Support indexing of regular-expression searches in contrib/pg_trgm. 2013-04-09 01:06:54 -04:00
pgupgrade.sgml pg_upgrade docs: mention modification of postgresql.conf in new cluster 2013-01-31 16:32:35 -05:00
planstats.sgml
plhandler.sgml
plperl.sgml Fix minor stylistic issue 2012-04-24 21:16:07 +03:00
plpgsql.sgml Change plan caching to honor, not resist, changes in search_path. 2013-01-25 14:14:41 -05:00
plpython.sgml PL/Python: Add result object str handler 2013-02-03 00:31:01 -05:00
pltcl.sgml
postgres-fdw.sgml Document cross-version compatibility issues for contrib/postgres_fdw. 2013-03-22 17:22:31 -04:00
postgres.sgml Background worker processes 2012-12-06 17:47:30 -03:00
problems.sgml
protocol.sgml Reset master xmin when hot_standby_feedback disabled. 2013-02-04 10:29:22 +00:00
queries.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
query.sgml
rangetypes.sgml Fix typo in example. 2012-08-23 11:58:11 +03:00
README.links
recovery-config.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
reference.sgml Add a materialized view relations. 2013-03-03 18:23:31 -06:00
regress.sgml pg_regress: Allow overriding diff options 2013-01-29 22:59:45 -05: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 Draft release notes for 9.2.4, 9.1.9, 9.0.13, 8.4.17. 2013-03-28 21:40:19 -04:00
release-9.0.sgml Update release notes for 9.2.4, 9.1.9, 9.0.13, 8.4.17. 2013-04-01 14:11:11 -04:00
release-9.1.sgml Update release notes for 9.2.4, 9.1.9, 9.0.13, 8.4.17. 2013-04-01 14:11:11 -04:00
release-9.2.sgml Update release notes for 9.2.4, 9.1.9, 9.0.13, 8.4.17. 2013-04-01 14:11:11 -04:00
release-old.sgml
release.sgml Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
rowtypes.sgml
rules.sgml Eliminate trivial whitespace inconsistency in docs sample code. 2013-03-21 10:34:47 -05:00
runtime.sgml Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
seg.sgml
sepgsql.sgml sepgsql: Enforce db_schema:search permission. 2013-04-05 08:51:31 -04:00
sourcerepo.sgml
sources.sgml Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
spgist.sgml Documentation spell and markup checking 2012-06-08 00:06:20 +03:00
spi.sgml Change plan caching to honor, not resist, changes in search_path. 2013-01-25 14:14:41 -05: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
standalone-install.sgml
start.sgml
storage.sgml Document that PGDATA has to point to the configuration files, rather 2012-08-15 22:59:37 -04:00
stylesheet-common.xsl Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03:00
stylesheet-fo.xsl Fix display of <command> elements on man pages 2012-04-30 21:18:03 +03: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
stylesheet.dsl Untabify DSSSL and XSL files and add to check-tabs target 2012-04-19 22:38:14 +03:00
stylesheet.xsl XSLT stylesheet: Add slash to directory name 2012-11-08 23:55:36 -05:00
syntax.sgml Add section IDs to subsections of syntax.sgml that lacked them. 2012-08-27 20:17:12 -04:00
tablefunc.sgml Revert: In docs, change a few cases of "not important" to 2012-08-16 11:26:40 -04:00
tcn.sgml Reduce messages about implicit indexes and sequences to DEBUG1. 2012-07-04 20:35:29 -04:00
test-parser.sgml
textsearch.sgml Fix typo: lexemes misspelled in full text search docs. 2012-09-11 19:46:17 -05:00
trigger.sgml Fix trigger example code to match header changes 2012-03-20 16:50:18 -03:00
tsearch2.sgml
typeconv.sgml
unaccent.sgml
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
vacuumlo.sgml Make documentation of --help and --version options more consistent 2012-06-18 02:46:59 +03:00
wal.sgml Clarify assumption of filesystem metadata integrity. 2013-03-19 08:57:29 +00:00
xaggr.sgml
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 doc: Fix markup typo 2013-02-25 17:58:14 -05:00
xoper.sgml
xplang.sgml
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 # 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