From: Tom Lane Date: Sun, 2 Dec 2007 22:33:20 +0000 (+0000) Subject: Ensure that all and tags have IDs. This is needed X-Git-Tag: REL8_3_BETA4~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b3251cb95001be2f911e16280fd99e7dd559620;p=postgresql Ensure that all and tags have IDs. This is needed to ensure that the resulting webpages have predictable URLs, instead of ever-changing numeric IDs. The new contrib docs were the biggest offender, but some old stuff had the problem too. Also, rename a couple of new contrib sgml files for consistency's sake. --- diff --git a/doc/src/sgml/adminpack.sgml b/doc/src/sgml/adminpack.sgml index 10816f5c24..bdbe44b4f9 100644 --- a/doc/src/sgml/adminpack.sgml +++ b/doc/src/sgml/adminpack.sgml @@ -1,5 +1,10 @@ - + adminpack + + + adminpack + + adminpack is a PostgreSQL standard module that implements a number of support functions which pgAdmin and other administration and management tools @@ -29,4 +34,3 @@ - diff --git a/doc/src/sgml/btree-gist.sgml b/doc/src/sgml/btree-gist.sgml index 4e1126e33c..c545c6ce7b 100644 --- a/doc/src/sgml/btree-gist.sgml +++ b/doc/src/sgml/btree-gist.sgml @@ -1,14 +1,12 @@ - - - - btree-gist - btree-gist is a B-Tree implementation using GiST that supports the int2, int4, + btree_gist is a B-Tree implementation using GiST that supports the int2, int4, int8, float4, float8 timestamp with/without time zone, time with/without time zone, date, interval, oid, money, macaddr, char, varchar/text, bytea, numeric, bit, varbit and inet/cidr types. @@ -37,4 +35,3 @@ - diff --git a/doc/src/sgml/contrib.sgml b/doc/src/sgml/contrib.sgml index cf4495e3b8..f077e55bb8 100644 --- a/doc/src/sgml/contrib.sgml +++ b/doc/src/sgml/contrib.sgml @@ -1,4 +1,4 @@ - + Additional Supplied Modules @@ -95,13 +95,13 @@ psql -d dbname -f SHAREDIR/contrib/module.sql &oid2name; &pageinspect; &pgbench; - &buffercache; + &pgbuffercache; &pgcrypto; - &freespacemap; + &pgfreespacemap; &pgrowlocks; - &standby; + &pgstandby; &pgstattuple; - &trgm; + &pgtrgm; &seg; &sslinfo; &tablefunc; diff --git a/doc/src/sgml/datetime.sgml b/doc/src/sgml/datetime.sgml index cbdb673b71..364e1411cb 100644 --- a/doc/src/sgml/datetime.sgml +++ b/doc/src/sgml/datetime.sgml @@ -1,4 +1,4 @@ - + Date/Time Support @@ -20,7 +20,7 @@ dates and times. - + Date/Time Input Interpretation diff --git a/doc/src/sgml/dblink.sgml b/doc/src/sgml/dblink.sgml index 095d600099..cccde0bbbc 100644 --- a/doc/src/sgml/dblink.sgml +++ b/doc/src/sgml/dblink.sgml @@ -1,14 +1,16 @@ - dblink + + + dblink + + - dblink is a contrib module which allows connections with + dblink is a module which allows connections with other databases. - - - + dblink_connect opens a persistent connection to a remote database @@ -68,8 +70,7 @@ - - + dblink_disconnect closes a persistent connection to a remote database @@ -117,8 +118,7 @@ - - + dblink_open opens a cursor on a remote database @@ -211,8 +211,7 @@ - - + dblink_fetch returns a set from an open cursor on a remote database @@ -327,8 +326,7 @@ - - + dblink_close closes a cursor on a remote database @@ -425,8 +423,7 @@ - - + dblink_exec executes an UPDATE/INSERT/DELETE on a remote database @@ -527,8 +524,7 @@ - - + dblink_current_query returns the current query string @@ -567,8 +563,7 @@ - - + dblink_get_pkey returns the position and field names of a relation's @@ -618,8 +613,7 @@ - - + dblink_build_sql_insert @@ -695,8 +689,7 @@ - - + dblink_build_sql_delete builds a delete statement using supplied values for selection @@ -770,8 +763,7 @@ - - + dblink_build_sql_update builds an update statement using a local tuple, replacing @@ -846,8 +838,7 @@ - - + dblink_get_connections returns a text array of all active named dblink connections @@ -881,8 +872,7 @@ - - + dblink_is_busy checks to see if named connection is busy with an async query @@ -922,8 +912,7 @@ - - + dblink_cancel_query cancels any active query on the named connection @@ -961,8 +950,7 @@ - - + dblink_error_message gets last error message on the named connection @@ -1000,8 +988,7 @@ - - + dblink returns a set from a remote database @@ -1146,8 +1133,7 @@ - - + dblink_send_query sends an async query to a remote database @@ -1192,14 +1178,13 @@ SELECT dblink_connect('dtest1', 'dbname=contrib_regression'); SELECT * FROM - dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 < 3') AS t1; + dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 < 3') AS t1; - - + dblink_get_result gets an async query result @@ -1259,7 +1244,7 @@ (1 row) contrib_regression=# SELECT * from - contrib_regression-# dblink_send_query('dtest1', 'select * from foo where f1 < 3') as t1; + contrib_regression-# dblink_send_query('dtest1', 'select * from foo where f1 < 3') as t1; t1 ---- 1 @@ -1279,7 +1264,7 @@ (0 rows) contrib_regression=# SELECT * from - dblink_send_query('dtest1', 'select * from foo where f1 < 3; select * from foo where f1 > 6') as t1; + dblink_send_query('dtest1', 'select * from foo where f1 < 3; select * from foo where f1 > 6') as t1; t1 ---- 1 diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index 1a5064660b..4c229d1984 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -1,4 +1,4 @@ - + @@ -109,13 +109,13 @@ - + - + - + - + diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-win32.sgml index a87f52d5b7..a158841747 100644 --- a/doc/src/sgml/install-win32.sgml +++ b/doc/src/sgml/install-win32.sgml @@ -1,4 +1,4 @@ - + Installation on <productname>Windows</productname> @@ -40,7 +40,7 @@ Windows 98. - + Building with <productname>Visual C++ 2005</productname> @@ -354,7 +354,7 @@ - + Building <application>libpq</application> with <productname>Visual C++</productname> or <productname>Borland C++</productname> diff --git a/doc/src/sgml/buffercache.sgml b/doc/src/sgml/pgbuffercache.sgml similarity index 96% rename from doc/src/sgml/buffercache.sgml rename to doc/src/sgml/pgbuffercache.sgml index 1347c75ba3..e4ecc8f78c 100644 --- a/doc/src/sgml/buffercache.sgml +++ b/doc/src/sgml/pgbuffercache.sgml @@ -1,12 +1,12 @@ - + pg_buffercache - + pg_buffercache - pg_buffercache module provides the means for examining + The pg_buffercache module provides a means for examining what's happening to the buffercache at any given time without having to restart or rebuild the server with debugging code added. The intent is to do for the buffercache what pg_locks does for locks. @@ -118,4 +118,3 @@ - diff --git a/doc/src/sgml/freespacemap.sgml b/doc/src/sgml/pgfreespacemap.sgml similarity index 98% rename from doc/src/sgml/freespacemap.sgml rename to doc/src/sgml/pgfreespacemap.sgml index 70b2741552..66748c3ef4 100644 --- a/doc/src/sgml/freespacemap.sgml +++ b/doc/src/sgml/pgfreespacemap.sgml @@ -1,12 +1,12 @@ - pgfreespacemap + pg_freespacemap - pgfreespacemap + pg_freespacemap - This modules provides the means for examining the free space map (FSM). It + This module provides a means for examining the free space map (FSM). It consists of two C functions: pg_freespacemap_relations() and pg_freespacemap_pages() that return a set of records, plus two views pg_freespacemap_relations and @@ -240,4 +240,3 @@ regression=# SELECT c.relname, p.relblocknumber, p.bytes - diff --git a/doc/src/sgml/standby.sgml b/doc/src/sgml/pgstandby.sgml similarity index 99% rename from doc/src/sgml/standby.sgml rename to doc/src/sgml/pgstandby.sgml index 120fed4c2c..3aafa09dbc 100644 --- a/doc/src/sgml/standby.sgml +++ b/doc/src/sgml/pgstandby.sgml @@ -1,9 +1,8 @@ - pg_standby - pgstandby + pg_standby @@ -246,4 +245,3 @@ restore_command = 'pg_standby -c -d -s 5 -w 0 -t C:\pgsql.trigger.5442 - diff --git a/doc/src/sgml/trgm.sgml b/doc/src/sgml/pgtrgm.sgml similarity index 99% rename from doc/src/sgml/trgm.sgml rename to doc/src/sgml/pgtrgm.sgml index 63f677a647..b7061481a9 100644 --- a/doc/src/sgml/trgm.sgml +++ b/doc/src/sgml/pgtrgm.sgml @@ -2,7 +2,7 @@ pg_trgm - pgtrgm + pg_trgm @@ -211,4 +211,3 @@ CREATE INDEX words_idx ON words USING gin(word gist_trgm_ops); -