From 7ab43b88d74b274f2df7ee228b6a8ade78b1aa96 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 3 Sep 2007 02:30:45 +0000 Subject: [PATCH] Improve stylistic consistency of descriptions of built-in objects by avoiding initcap style --- the vast majority of the existing descriptions do not use an initial cap. I didn't change places where the first word was all-cap. initdb not forced because this doesn't change any regression test results. --- src/backend/snowball/snowball.sql.in | 6 +- src/backend/snowball/snowball_func.sql.in | 4 +- src/include/catalog/pg_database.h | 4 +- src/include/catalog/pg_language.h | 6 +- src/include/catalog/pg_namespace.h | 8 +-- src/include/catalog/pg_proc.h | 114 +++++++++++++++--------------- src/include/catalog/pg_ts_template.h | 4 +- src/include/catalog/pg_type.h | 4 +- 8 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/backend/snowball/snowball.sql.in b/src/backend/snowball/snowball.sql.in index 013b590fb4..8b6328a083 100644 --- a/src/backend/snowball/snowball.sql.in +++ b/src/backend/snowball/snowball.sql.in @@ -1,15 +1,15 @@ --- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.3 2007/08/25 01:06:25 tgl Exp $$ +-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.4 2007/09/03 02:30:43 tgl Exp $$ -- text search configuration for _LANGNAME_ language CREATE TEXT SEARCH DICTIONARY _DICTNAME_ (TEMPLATE = snowball, Language = _LANGNAME_ _STOPWORDS_); -COMMENT ON TEXT SEARCH DICTIONARY _DICTNAME_ IS 'Snowball stemmer for _LANGNAME_ language'; +COMMENT ON TEXT SEARCH DICTIONARY _DICTNAME_ IS 'snowball stemmer for _LANGNAME_ language'; CREATE TEXT SEARCH CONFIGURATION _CFGNAME_ (PARSER = default); -COMMENT ON TEXT SEARCH CONFIGURATION _CFGNAME_ IS 'Configuration for _LANGNAME_ language'; +COMMENT ON TEXT SEARCH CONFIGURATION _CFGNAME_ IS 'configuration for _LANGNAME_ language'; ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING FOR email, url, host, sfloat, version, uri, file, float, int, uint diff --git a/src/backend/snowball/snowball_func.sql.in b/src/backend/snowball/snowball_func.sql.in index db3ca2c9d0..f55962c796 100644 --- a/src/backend/snowball/snowball_func.sql.in +++ b/src/backend/snowball/snowball_func.sql.in @@ -1,4 +1,4 @@ --- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.1 2007/08/21 01:11:16 tgl Exp $$ +-- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.2 2007/09/03 02:30:43 tgl Exp $$ SET search_path = pg_catalog; @@ -14,5 +14,5 @@ CREATE TEXT SEARCH TEMPLATE snowball (INIT = dsnowball_init, LEXIZE = dsnowball_lexize); -COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer'; +COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer'; diff --git a/src/include/catalog/pg_database.h b/src/include/catalog/pg_database.h index 03fd8bb6d6..a8348e716f 100644 --- a/src/include/catalog/pg_database.h +++ b/src/include/catalog/pg_database.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_database.h,v 1.43 2007/01/05 22:19:52 momjian Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_database.h,v 1.44 2007/09/03 02:30:43 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -73,7 +73,7 @@ typedef FormData_pg_database *Form_pg_database; #define Anum_pg_database_datacl 11 DATA(insert OID = 1 ( template1 PGUID ENCODING t t -1 0 0 1663 _null_ _null_ )); -SHDESCR("Default template database"); +SHDESCR("default template database"); #define TemplateDbOid 1 #endif /* PG_DATABASE_H */ diff --git a/src/include/catalog/pg_language.h b/src/include/catalog/pg_language.h index bf4fdd2774..6aad47280f 100644 --- a/src/include/catalog/pg_language.h +++ b/src/include/catalog/pg_language.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_language.h,v 1.30 2007/03/26 16:58:41 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_language.h,v 1.31 2007/09/03 02:30:43 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -70,10 +70,10 @@ typedef FormData_pg_language *Form_pg_language; */ DATA(insert OID = 12 ( "internal" PGUID f f 0 2246 _null_ )); -DESCR("Built-in functions"); +DESCR("built-in functions"); #define INTERNALlanguageId 12 DATA(insert OID = 13 ( "c" PGUID f f 0 2247 _null_ )); -DESCR("Dynamically-loaded C functions"); +DESCR("dynamically-loaded C functions"); #define ClanguageId 13 DATA(insert OID = 14 ( "sql" PGUID f t 0 2248 _null_ )); DESCR("SQL-language functions"); diff --git a/src/include/catalog/pg_namespace.h b/src/include/catalog/pg_namespace.h index 9d949008fa..39f2d352c9 100644 --- a/src/include/catalog/pg_namespace.h +++ b/src/include/catalog/pg_namespace.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_namespace.h,v 1.21 2007/01/05 22:19:52 momjian Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_namespace.h,v 1.22 2007/09/03 02:30:43 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -69,13 +69,13 @@ typedef FormData_pg_namespace *Form_pg_namespace; */ DATA(insert OID = 11 ( "pg_catalog" PGUID _null_ )); -DESCR("System catalog schema"); +DESCR("system catalog schema"); #define PG_CATALOG_NAMESPACE 11 DATA(insert OID = 99 ( "pg_toast" PGUID _null_ )); -DESCR("Reserved schema for TOAST tables"); +DESCR("reserved schema for TOAST tables"); #define PG_TOAST_NAMESPACE 99 DATA(insert OID = 2200 ( "public" PGUID _null_ )); -DESCR("Standard public schema"); +DESCR("standard public schema"); #define PG_PUBLIC_NAMESPACE 2200 diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index c17417872a..1c3e179047 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.466 2007/09/03 00:39:22 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.467 2007/09/03 02:30:43 tgl Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -1544,7 +1544,7 @@ DATA(insert OID = 1253 ( int2abs PGNSP PGUID 12 1 0 f f t f i 1 21 "21" _nu DESCR("absolute value"); DATA(insert OID = 1271 ( overlaps PGNSP PGUID 12 1 0 f f f f i 4 16 "1266 1266 1266 1266" _null_ _null_ _null_ overlaps_timetz - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1272 ( datetime_pl PGNSP PGUID 12 1 0 f f t f i 2 1114 "1082 1083" _null_ _null_ _null_ datetime_timestamp - _null_ _null_ )); DESCR("convert date and time to timestamp"); DATA(insert OID = 1273 ( date_part PGNSP PGUID 12 1 0 f f t f i 2 701 "25 1266" _null_ _null_ _null_ timetz_part - _null_ _null_ )); @@ -1621,22 +1621,22 @@ DATA(insert OID = 1303 ( contjoinsel PGNSP PGUID 12 1 0 f f t f s 4 701 "228 DESCR("join selectivity for containment comparison operators"); DATA(insert OID = 1304 ( overlaps PGNSP PGUID 12 1 0 f f f f i 4 16 "1184 1184 1184 1184" _null_ _null_ _null_ overlaps_timestamp - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1305 ( overlaps PGNSP PGUID 14 1 0 f f f f s 4 16 "1184 1186 1184 1186" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1306 ( overlaps PGNSP PGUID 14 1 0 f f f f s 4 16 "1184 1184 1184 1186" _null_ _null_ _null_ "select ($1, $2) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1307 ( overlaps PGNSP PGUID 14 1 0 f f f f s 4 16 "1184 1186 1184 1184" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, $4)" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1308 ( overlaps PGNSP PGUID 12 1 0 f f f f i 4 16 "1083 1083 1083 1083" _null_ _null_ _null_ overlaps_time - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1309 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1083 1186 1083 1186" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1310 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1083 1083 1083 1186" _null_ _null_ _null_ "select ($1, $2) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1311 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1083 1186 1083 1083" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, $4)" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 1312 ( timestamp_in PGNSP PGUID 12 1 0 f f t f s 3 1114 "2275 26 23" _null_ _null_ _null_ timestamp_in - _null_ _null_ )); DESCR("I/O"); @@ -2856,91 +2856,91 @@ DESCR("current user privilege on relation by rel oid"); DATA(insert OID = 1928 ( pg_stat_get_numscans PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_numscans - _null_ _null_ )); -DESCR("Statistics: Number of scans done for table/index"); +DESCR("statistics: number of scans done for table/index"); DATA(insert OID = 1929 ( pg_stat_get_tuples_returned PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_tuples_returned - _null_ _null_ )); -DESCR("Statistics: Number of tuples read by seqscan"); +DESCR("statistics: number of tuples read by seqscan"); DATA(insert OID = 1930 ( pg_stat_get_tuples_fetched PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_tuples_fetched - _null_ _null_ )); -DESCR("Statistics: Number of tuples fetched by idxscan"); +DESCR("statistics: number of tuples fetched by idxscan"); DATA(insert OID = 1931 ( pg_stat_get_tuples_inserted PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_tuples_inserted - _null_ _null_ )); -DESCR("Statistics: Number of tuples inserted"); +DESCR("statistics: number of tuples inserted"); DATA(insert OID = 1932 ( pg_stat_get_tuples_updated PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_tuples_updated - _null_ _null_ )); -DESCR("Statistics: Number of tuples updated"); +DESCR("statistics: number of tuples updated"); DATA(insert OID = 1933 ( pg_stat_get_tuples_deleted PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_tuples_deleted - _null_ _null_ )); -DESCR("Statistics: Number of tuples deleted"); +DESCR("statistics: number of tuples deleted"); DATA(insert OID = 2878 ( pg_stat_get_live_tuples PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_live_tuples - _null_ _null_ )); -DESCR("Statistics: Number of live tuples"); +DESCR("statistics: number of live tuples"); DATA(insert OID = 2879 ( pg_stat_get_dead_tuples PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_dead_tuples - _null_ _null_ )); -DESCR("Statistics: Number of dead tuples"); +DESCR("statistics: number of dead tuples"); DATA(insert OID = 1934 ( pg_stat_get_blocks_fetched PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_blocks_fetched - _null_ _null_ )); -DESCR("Statistics: Number of blocks fetched"); +DESCR("statistics: number of blocks fetched"); DATA(insert OID = 1935 ( pg_stat_get_blocks_hit PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_blocks_hit - _null_ _null_ )); -DESCR("Statistics: Number of blocks found in cache"); +DESCR("statistics: number of blocks found in cache"); DATA(insert OID = 2781 ( pg_stat_get_last_vacuum_time PGNSP PGUID 12 1 0 f f t f s 1 1184 "26" _null_ _null_ _null_ pg_stat_get_last_vacuum_time - _null_ _null_ )); -DESCR("Statistics: Last manual vacuum time for a table"); +DESCR("statistics: last manual vacuum time for a table"); DATA(insert OID = 2782 ( pg_stat_get_last_autovacuum_time PGNSP PGUID 12 1 0 f f t f s 1 1184 "26" _null_ _null_ _null_ pg_stat_get_last_autovacuum_time - _null_ _null_ )); -DESCR("Statistics: Last auto vacuum time for a table"); +DESCR("statistics: last auto vacuum time for a table"); DATA(insert OID = 2783 ( pg_stat_get_last_analyze_time PGNSP PGUID 12 1 0 f f t f s 1 1184 "26" _null_ _null_ _null_ pg_stat_get_last_analyze_time - _null_ _null_ )); -DESCR("Statistics: Last manual analyze time for a table"); +DESCR("statistics: last manual analyze time for a table"); DATA(insert OID = 2784 ( pg_stat_get_last_autoanalyze_time PGNSP PGUID 12 1 0 f f t f s 1 1184 "26" _null_ _null_ _null_ pg_stat_get_last_autoanalyze_time - _null_ _null_ )); -DESCR("Statistics: Last auto analyze time for a table"); +DESCR("statistics: last auto analyze time for a table"); DATA(insert OID = 1936 ( pg_stat_get_backend_idset PGNSP PGUID 12 1 100 f f t t s 0 23 "" _null_ _null_ _null_ pg_stat_get_backend_idset - _null_ _null_ )); -DESCR("Statistics: Currently active backend IDs"); +DESCR("statistics: currently active backend IDs"); DATA(insert OID = 2026 ( pg_backend_pid PGNSP PGUID 12 1 0 f f t f s 0 23 "" _null_ _null_ _null_ pg_backend_pid - _null_ _null_ )); -DESCR("Statistics: Current backend PID"); +DESCR("statistics: current backend PID"); DATA(insert OID = 1937 ( pg_stat_get_backend_pid PGNSP PGUID 12 1 0 f f t f s 1 23 "23" _null_ _null_ _null_ pg_stat_get_backend_pid - _null_ _null_ )); -DESCR("Statistics: PID of backend"); +DESCR("statistics: PID of backend"); DATA(insert OID = 1938 ( pg_stat_get_backend_dbid PGNSP PGUID 12 1 0 f f t f s 1 26 "23" _null_ _null_ _null_ pg_stat_get_backend_dbid - _null_ _null_ )); -DESCR("Statistics: Database ID of backend"); +DESCR("statistics: database ID of backend"); DATA(insert OID = 1939 ( pg_stat_get_backend_userid PGNSP PGUID 12 1 0 f f t f s 1 26 "23" _null_ _null_ _null_ pg_stat_get_backend_userid - _null_ _null_ )); -DESCR("Statistics: User ID of backend"); +DESCR("statistics: user ID of backend"); DATA(insert OID = 1940 ( pg_stat_get_backend_activity PGNSP PGUID 12 1 0 f f t f s 1 25 "23" _null_ _null_ _null_ pg_stat_get_backend_activity - _null_ _null_ )); -DESCR("Statistics: Current query of backend"); +DESCR("statistics: current query of backend"); DATA(insert OID = 2853 ( pg_stat_get_backend_waiting PGNSP PGUID 12 1 0 f f t f s 1 16 "23" _null_ _null_ _null_ pg_stat_get_backend_waiting - _null_ _null_ )); -DESCR("Statistics: Is backend currently waiting for a lock"); +DESCR("statistics: is backend currently waiting for a lock"); DATA(insert OID = 2094 ( pg_stat_get_backend_activity_start PGNSP PGUID 12 1 0 f f t f s 1 1184 "23" _null_ _null_ _null_ pg_stat_get_backend_activity_start - _null_ _null_ )); -DESCR("Statistics: Start time for current query of backend"); +DESCR("statistics: start time for current query of backend"); DATA(insert OID = 2857 ( pg_stat_get_backend_txn_start PGNSP PGUID 12 1 0 f f t f s 1 1184 "23" _null_ _null_ _null_ pg_stat_get_backend_txn_start - _null_ _null_ )); -DESCR("Statistics: Start time for backend's current transaction"); +DESCR("statistics: start time for backend's current transaction"); DATA(insert OID = 1391 ( pg_stat_get_backend_start PGNSP PGUID 12 1 0 f f t f s 1 1184 "23" _null_ _null_ _null_ pg_stat_get_backend_start - _null_ _null_ )); -DESCR("Statistics: Start time for current backend session"); +DESCR("statistics: start time for current backend session"); DATA(insert OID = 1392 ( pg_stat_get_backend_client_addr PGNSP PGUID 12 1 0 f f t f s 1 869 "23" _null_ _null_ _null_ pg_stat_get_backend_client_addr - _null_ _null_ )); -DESCR("Statistics: Address of client connected to backend"); +DESCR("statistics: address of client connected to backend"); DATA(insert OID = 1393 ( pg_stat_get_backend_client_port PGNSP PGUID 12 1 0 f f t f s 1 23 "23" _null_ _null_ _null_ pg_stat_get_backend_client_port - _null_ _null_ )); -DESCR("Statistics: Port number of client connected to backend"); +DESCR("statistics: port number of client connected to backend"); DATA(insert OID = 1941 ( pg_stat_get_db_numbackends PGNSP PGUID 12 1 0 f f t f s 1 23 "26" _null_ _null_ _null_ pg_stat_get_db_numbackends - _null_ _null_ )); -DESCR("Statistics: Number of backends in database"); +DESCR("statistics: number of backends in database"); DATA(insert OID = 1942 ( pg_stat_get_db_xact_commit PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_xact_commit - _null_ _null_ )); -DESCR("Statistics: Transactions committed"); +DESCR("statistics: transactions committed"); DATA(insert OID = 1943 ( pg_stat_get_db_xact_rollback PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_xact_rollback - _null_ _null_ )); -DESCR("Statistics: Transactions rolled back"); +DESCR("statistics: transactions rolled back"); DATA(insert OID = 1944 ( pg_stat_get_db_blocks_fetched PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_blocks_fetched - _null_ _null_ )); -DESCR("Statistics: Blocks fetched for database"); +DESCR("statistics: blocks fetched for database"); DATA(insert OID = 1945 ( pg_stat_get_db_blocks_hit PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_blocks_hit - _null_ _null_ )); -DESCR("Statistics: Blocks found in cache for database"); +DESCR("statistics: blocks found in cache for database"); DATA(insert OID = 2758 ( pg_stat_get_db_tuples_returned PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_tuples_returned - _null_ _null_ )); -DESCR("Statistics: Tuples returned for database"); +DESCR("statistics: tuples returned for database"); DATA(insert OID = 2759 ( pg_stat_get_db_tuples_fetched PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_tuples_fetched - _null_ _null_ )); -DESCR("Statistics: Tuples fetched for database"); +DESCR("statistics: tuples fetched for database"); DATA(insert OID = 2760 ( pg_stat_get_db_tuples_inserted PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_tuples_inserted - _null_ _null_ )); -DESCR("Statistics: Tuples inserted in database"); +DESCR("statistics: tuples inserted in database"); DATA(insert OID = 2761 ( pg_stat_get_db_tuples_updated PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_tuples_updated - _null_ _null_ )); -DESCR("Statistics: Tuples updated in database"); +DESCR("statistics: tuples updated in database"); DATA(insert OID = 2762 ( pg_stat_get_db_tuples_deleted PGNSP PGUID 12 1 0 f f t f s 1 20 "26" _null_ _null_ _null_ pg_stat_get_db_tuples_deleted - _null_ _null_ )); -DESCR("Statistics: Tuples deleted in database"); +DESCR("statistics: tuples deleted in database"); DATA(insert OID = 2769 ( pg_stat_get_bgwriter_timed_checkpoints PGNSP PGUID 12 1 0 f f t f s 0 20 "" _null_ _null_ _null_ pg_stat_get_bgwriter_timed_checkpoints - _null_ _null_ )); -DESCR("Statistics: Number of timed checkpoints started by the bgwriter"); +DESCR("statistics: number of timed checkpoints started by the bgwriter"); DATA(insert OID = 2770 ( pg_stat_get_bgwriter_requested_checkpoints PGNSP PGUID 12 1 0 f f t f s 0 20 "" _null_ _null_ _null_ pg_stat_get_bgwriter_requested_checkpoints - _null_ _null_ )); -DESCR("Statistics: Number of backend requested checkpoints started by the bgwriter"); +DESCR("statistics: number of backend requested checkpoints started by the bgwriter"); DATA(insert OID = 2771 ( pg_stat_get_bgwriter_buf_written_checkpoints PGNSP PGUID 12 1 0 f f t f s 0 20 "" _null_ _null_ _null_ pg_stat_get_bgwriter_buf_written_checkpoints - _null_ _null_ )); -DESCR("Statistics: Number of buffers written by the bgwriter during checkpoints"); +DESCR("statistics: number of buffers written by the bgwriter during checkpoints"); DATA(insert OID = 2772 ( pg_stat_get_bgwriter_buf_written_clean PGNSP PGUID 12 1 0 f f t f s 0 20 "" _null_ _null_ _null_ pg_stat_get_bgwriter_buf_written_clean - _null_ _null_ )); -DESCR("Statistics: Number of buffers written by the bgwriter for cleaning dirty buffers"); +DESCR("statistics: number of buffers written by the bgwriter for cleaning dirty buffers"); DATA(insert OID = 2773 ( pg_stat_get_bgwriter_maxwritten_clean PGNSP PGUID 12 1 0 f f t f s 0 20 "" _null_ _null_ _null_ pg_stat_get_bgwriter_maxwritten_clean - _null_ _null_ )); -DESCR("Statistics: Number of times the bgwriter stopped processing when it had written too many buffers while cleaning"); +DESCR("statistics: number of times the bgwriter stopped processing when it had written too many buffers while cleaning"); DATA(insert OID = 2230 ( pg_stat_clear_snapshot PGNSP PGUID 12 1 0 f f f f v 0 2278 "" _null_ _null_ _null_ pg_stat_clear_snapshot - _null_ _null_ )); -DESCR("Statistics: Discard current transaction's statistics snapshot"); +DESCR("statistics: discard current transaction's statistics snapshot"); DATA(insert OID = 2274 ( pg_stat_reset PGNSP PGUID 12 1 0 f f f f v 0 2278 "" _null_ _null_ _null_ pg_stat_reset - _null_ _null_ )); -DESCR("Statistics: Reset collected statistics for current database"); +DESCR("statistics: reset collected statistics for current database"); DATA(insert OID = 1946 ( encode PGNSP PGUID 12 1 0 f f t f i 2 25 "17 25" _null_ _null_ _null_ binary_encode - _null_ _null_ )); DESCR("convert bytea value into some ascii-only text string"); @@ -3046,13 +3046,13 @@ DESCR("adjust time with time zone to new zone"); DATA(insert OID = 2039 ( timestamp_hash PGNSP PGUID 12 1 0 f f t f i 1 23 "1114" _null_ _null_ _null_ timestamp_hash - _null_ _null_ )); DESCR("hash"); DATA(insert OID = 2041 ( overlaps PGNSP PGUID 12 1 0 f f f f i 4 16 "1114 1114 1114 1114" _null_ _null_ _null_ overlaps_timestamp - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 2042 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1114 1186 1114 1186" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 2043 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1114 1114 1114 1186" _null_ _null_ _null_ "select ($1, $2) overlaps ($3, ($3 + $4))" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 2044 ( overlaps PGNSP PGUID 14 1 0 f f f f i 4 16 "1114 1186 1114 1114" _null_ _null_ _null_ "select ($1, ($1 + $2)) overlaps ($3, $4)" - _null_ _null_ )); -DESCR("SQL92 interval comparison"); +DESCR("intervals overlap?"); DATA(insert OID = 2045 ( timestamp_cmp PGNSP PGUID 12 1 0 f f t f i 2 23 "1114 1114" _null_ _null_ _null_ timestamp_cmp - _null_ _null_ )); DESCR("less-equal-greater"); DATA(insert OID = 2046 ( time PGNSP PGUID 12 1 0 f f t f i 1 1083 "1266" _null_ _null_ _null_ timetz_time - _null_ _null_ )); diff --git a/src/include/catalog/pg_ts_template.h b/src/include/catalog/pg_ts_template.h index 9a5c3ef7b7..7108358ced 100644 --- a/src/include/catalog/pg_ts_template.h +++ b/src/include/catalog/pg_ts_template.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_ts_template.h,v 1.1 2007/08/21 01:11:27 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_ts_template.h,v 1.2 2007/09/03 02:30:45 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -65,7 +65,7 @@ DESCR("simple dictionary: just lower case and check for stopword"); DATA(insert OID = 3730 ( "synonym" PGNSP dsynonym_init dsynonym_lexize )); DESCR("synonym dictionary: replace word by its synonym"); DATA(insert OID = 3733 ( "ispell" PGNSP dispell_init dispell_lexize )); -DESCR("Ispell dictionary"); +DESCR("ispell dictionary"); DATA(insert OID = 3742 ( "thesaurus" PGNSP thesaurus_init thesaurus_lexize )); DESCR("thesaurus dictionary: phrase by phrase substitution"); diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h index 6c6715c75a..2c81dafb2f 100644 --- a/src/include/catalog/pg_type.h +++ b/src/include/catalog/pg_type.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.187 2007/08/21 01:11:27 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.188 2007/09/03 02:30:45 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -307,7 +307,7 @@ DESCR("object identifier(oid), maximum 4 billion"); #define OIDOID 26 DATA(insert OID = 27 ( tid PGNSP PGUID 6 f b t \054 0 0 1010 tidin tidout tidrecv tidsend - - - s p f 0 -1 0 _null_ _null_ )); -DESCR("(Block, offset), physical location of tuple"); +DESCR("(block, offset), physical location of tuple"); #define TIDOID 27 DATA(insert OID = 28 ( xid PGNSP PGUID 4 t b t \054 0 0 1011 xidin xidout xidrecv xidsend - - - i p f 0 -1 0 _null_ _null_ )); -- 2.11.0