Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7ab43b8

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 usean 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 parent6f4a546 commit7ab43b8

File tree

8 files changed

+75
-75
lines changed

8 files changed

+75
-75
lines changed

‎src/backend/snowball/snowball.sql.in

Lines changed: 3 additions & 3 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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
#defineAnum_pg_database_datacl11
7474

7575
DATA(insertOID=1 (template1PGUIDENCODINGtt-1001663_null__null_ ));
76-
SHDESCR("Default template database");
76+
SHDESCR("default template database");
7777
#defineTemplateDbOid1
7878

7979
#endif/* PG_DATABASE_H */

‎src/include/catalog/pg_language.h

Lines changed: 3 additions & 3 deletions
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(insertOID=12 ("internal"PGUIDff02246_null_ ));
73-
DESCR("Built-in functions");
73+
DESCR("built-in functions");
7474
#defineINTERNALlanguageId 12
7575
DATA(insertOID=13 ("c"PGUIDff02247_null_ ));
76-
DESCR("Dynamically-loaded C functions");
76+
DESCR("dynamically-loaded C functions");
7777
#defineClanguageId 13
7878
DATA(insertOID=14 ("sql"PGUIDft02248_null_ ));
7979
DESCR("SQL-language functions");

‎src/include/catalog/pg_namespace.h

Lines changed: 4 additions & 4 deletions
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(insertOID=11 ("pg_catalog"PGUID_null_ ));
72-
DESCR("System catalog schema");
72+
DESCR("system catalog schema");
7373
#definePG_CATALOG_NAMESPACE 11
7474
DATA(insertOID=99 ("pg_toast"PGUID_null_ ));
75-
DESCR("Reserved schema for TOAST tables");
75+
DESCR("reserved schema for TOAST tables");
7676
#definePG_TOAST_NAMESPACE 99
7777
DATA(insertOID=2200 ("public"PGUID_null_ ));
78-
DESCR("Standard public schema");
78+
DESCR("standard public schema");
7979
#definePG_PUBLIC_NAMESPACE 2200
8080

8181

‎src/include/catalog/pg_proc.h

Lines changed: 57 additions & 57 deletions
Large diffs are not rendered by default.

‎src/include/catalog/pg_ts_template.h

Lines changed: 2 additions & 2 deletions
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(insertOID=3730 ("synonym"PGNSPdsynonym_initdsynonym_lexize ));
6666
DESCR("synonym dictionary: replace word by its synonym");
6767
DATA(insertOID=3733 ("ispell"PGNSPdispell_initdispell_lexize ));
68-
DESCR("Ispell dictionary");
68+
DESCR("ispell dictionary");
6969
DATA(insertOID=3742 ("thesaurus"PGNSPthesaurus_initthesaurus_lexize ));
7070
DESCR("thesaurus dictionary: phrase by phrase substitution");
7171

‎src/include/catalog/pg_type.h

Lines changed: 2 additions & 2 deletions
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
#defineOIDOID26
308308

309309
DATA(insertOID=27 (tidPGNSPPGUID6fbt \054001010tidintidouttidrecvtidsend---spf0-10_null__null_ ));
310-
DESCR("(Block, offset), physical location of tuple");
310+
DESCR("(block, offset), physical location of tuple");
311311
#defineTIDOID27
312312

313313
DATA(insertOID=28 (xidPGNSPPGUID4tbt \054001011xidinxidoutxidrecvxidsend---ipf0-10_null__null_ ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp