Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7ab43b8

Browse files
committed
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.
1 parent 6f4a546 commit 7ab43b8

File tree

8 files changed

+75
-75
lines changed

8 files changed

+75
-75
lines changed

src/backend/snowball/snowball.sql.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.3 2007/08/25 01:06:25 tgl Exp $$
1+
-- $PostgreSQL: pgsql/src/backend/snowball/snowball.sql.in,v 1.4 2007/09/03 02:30:43 tgl Exp $$
22

33
-- text search configuration for _LANGNAME_ language
44
CREATE TEXT SEARCH DICTIONARY _DICTNAME_
55
(TEMPLATE = snowball, Language = _LANGNAME_ _STOPWORDS_);
66

7-
COMMENT ON TEXT SEARCH DICTIONARY _DICTNAME_ IS 'Snowball stemmer for _LANGNAME_ language';
7+
COMMENT ON TEXT SEARCH DICTIONARY _DICTNAME_ IS 'snowball stemmer for _LANGNAME_ language';
88

99
CREATE TEXT SEARCH CONFIGURATION _CFGNAME_
1010
(PARSER = default);
1111

12-
COMMENT ON TEXT SEARCH CONFIGURATION _CFGNAME_ IS 'Configuration for _LANGNAME_ language';
12+
COMMENT ON TEXT SEARCH CONFIGURATION _CFGNAME_ IS 'configuration for _LANGNAME_ language';
1313

1414
ALTER TEXT SEARCH CONFIGURATION _CFGNAME_ ADD MAPPING
1515
FOR email, url, host, sfloat, version, uri, file, float, int, uint

src/backend/snowball/snowball_func.sql.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.1 2007/08/21 01:11:16 tgl Exp $$
1+
-- $PostgreSQL: pgsql/src/backend/snowball/snowball_func.sql.in,v 1.2 2007/09/03 02:30:43 tgl Exp $$
22

33
SET search_path = pg_catalog;
44

@@ -14,5 +14,5 @@ CREATE TEXT SEARCH TEMPLATE snowball
1414
(INIT = dsnowball_init,
1515
LEXIZE = dsnowball_lexize);
1616

17-
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer';
17+
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'snowball stemmer';
1818

src/include/catalog/pg_database.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_database.h,v 1.43 2007/01/05 22:19:52 momjian Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_database.h,v 1.44 2007/09/03 02:30:43 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -73,7 +73,7 @@ typedef FormData_pg_database *Form_pg_database;
7373
#define Anum_pg_database_datacl 11
7474

7575
DATA(insert OID = 1 ( template1 PGUID ENCODING t t -1 0 0 1663 _null_ _null_ ));
76-
SHDESCR("Default template database");
76+
SHDESCR("default template database");
7777
#define TemplateDbOid 1
7878

7979
#endif /* PG_DATABASE_H */

src/include/catalog/pg_language.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_language.h,v 1.30 2007/03/26 16:58:41 tgl Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_language.h,v 1.31 2007/09/03 02:30:43 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -70,10 +70,10 @@ typedef FormData_pg_language *Form_pg_language;
7070
*/
7171

7272
DATA(insert OID = 12 ( "internal" PGUID f f 0 2246 _null_ ));
73-
DESCR("Built-in functions");
73+
DESCR("built-in functions");
7474
#define INTERNALlanguageId 12
7575
DATA(insert OID = 13 ( "c" PGUID f f 0 2247 _null_ ));
76-
DESCR("Dynamically-loaded C functions");
76+
DESCR("dynamically-loaded C functions");
7777
#define ClanguageId 13
7878
DATA(insert OID = 14 ( "sql" PGUID f t 0 2248 _null_ ));
7979
DESCR("SQL-language functions");

src/include/catalog/pg_namespace.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_namespace.h,v 1.21 2007/01/05 22:19:52 momjian Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_namespace.h,v 1.22 2007/09/03 02:30:43 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -69,13 +69,13 @@ typedef FormData_pg_namespace *Form_pg_namespace;
6969
*/
7070

7171
DATA(insert OID = 11 ( "pg_catalog" PGUID _null_ ));
72-
DESCR("System catalog schema");
72+
DESCR("system catalog schema");
7373
#define PG_CATALOG_NAMESPACE 11
7474
DATA(insert OID = 99 ( "pg_toast" PGUID _null_ ));
75-
DESCR("Reserved schema for TOAST tables");
75+
DESCR("reserved schema for TOAST tables");
7676
#define PG_TOAST_NAMESPACE 99
7777
DATA(insert OID = 2200 ( "public" PGUID _null_ ));
78-
DESCR("Standard public schema");
78+
DESCR("standard public schema");
7979
#define PG_PUBLIC_NAMESPACE 2200
8080

8181

src/include/catalog/pg_proc.h

+57-57
Large diffs are not rendered by default.

src/include/catalog/pg_ts_template.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/catalog/pg_ts_template.h,v 1.1 2007/08/21 01:11:27 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/catalog/pg_ts_template.h,v 1.2 2007/09/03 02:30:45 tgl Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -65,7 +65,7 @@ DESCR("simple dictionary: just lower case and check for stopword");
6565
DATA(insert OID = 3730 ( "synonym" PGNSP dsynonym_init dsynonym_lexize ));
6666
DESCR("synonym dictionary: replace word by its synonym");
6767
DATA(insert OID = 3733 ( "ispell" PGNSP dispell_init dispell_lexize ));
68-
DESCR("Ispell dictionary");
68+
DESCR("ispell dictionary");
6969
DATA(insert OID = 3742 ( "thesaurus" PGNSP thesaurus_init thesaurus_lexize ));
7070
DESCR("thesaurus dictionary: phrase by phrase substitution");
7171

src/include/catalog/pg_type.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.187 2007/08/21 01:11:27 tgl Exp $
11+
* $PostgreSQL: pgsql/src/include/catalog/pg_type.h,v 1.188 2007/09/03 02:30:45 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -307,7 +307,7 @@ DESCR("object identifier(oid), maximum 4 billion");
307307
#define OIDOID 26
308308

309309
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_ ));
310-
DESCR("(Block, offset), physical location of tuple");
310+
DESCR("(block, offset), physical location of tuple");
311311
#define TIDOID 27
312312

313313
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_ ));

0 commit comments

Comments
 (0)