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

Commit e1f8d97

Browse files
committed
In documentation, use "lower case"/"upper case" consistently (use space
between words).
1 parent 5016b69 commit e1f8d97

File tree

8 files changed

+38
-38
lines changed

8 files changed

+38
-38
lines changed

doc/src/sgml/citext.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/citext.sgml,v 1.3 2010/06/03 03:04:55 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/citext.sgml,v 1.4 2010/06/29 22:29:13 momjian Exp $ -->
22

33
<sect1 id="citext">
44
<title>citext</title>
@@ -58,8 +58,8 @@
5858
The <type>citext</> data type allows you to eliminate calls
5959
to <function>lower</> in SQL queries, and allows a primary key to
6060
be case-insensitive. <type>citext</> is locale-aware, just
61-
like <type>text</>, which means that the comparison of uppercase and
62-
lowercase characters is dependent on the rules of
61+
like <type>text</>, which means that the comparison of upper case and
62+
lower case characters is dependent on the rules of
6363
the <literal>LC_CTYPE</> locale setting. Again, this behavior is
6464
identical to the use of <function>lower</> in queries. But because it's
6565
done transparently by the datatype, you don't have to remember to do

doc/src/sgml/client-auth.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.138 2010/05/26 23:49:18 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.139 2010/06/29 22:29:13 momjian Exp $ -->
22

33
<chapter id="client-authentication">
44
<title>Client Authentication</title>
@@ -994,7 +994,7 @@ omicron bryanh guest1
994994
on the same host.
995995
Some Kerberos implementations might also require a different service name,
996996
such as Microsoft Active Directory which requires the service name
997-
to be in uppercase (<literal>POSTGRES</literal>).
997+
to be in upper case (<literal>POSTGRES</literal>).
998998
</para>
999999

10001000
<para>

doc/src/sgml/config.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.286 2010/06/29 22:23:02 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.287 2010/06/29 22:29:13 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1015,7 +1015,7 @@ SET ENABLE_SEQSCAN TO OFF;
10151015
<literal>mylib.so</> (or on some platforms,
10161016
<literal>mylib.sl</>) to be preloaded from the installation's
10171017
standard library directory.
1018-
All library names are converted to lowercase unless double-quoted.
1018+
All library names are converted to lower case unless double-quoted.
10191019
If more than one library is to be loaded, separate their names
10201020
with commas. This parameter can only be set at server start.
10211021
</para>
@@ -4840,7 +4840,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
48404840
This variable specifies one or more shared libraries that are
48414841
to be preloaded at connection start. If more than one library
48424842
is to be loaded, separate their names with commas. All library
4843-
names are converted to lowercase unless double-quoted.
4843+
names are converted to lower case unless double-quoted.
48444844
This parameter cannot be changed after the start of a particular
48454845
session.
48464846
</para>

doc/src/sgml/func.sgml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.519 2010/06/17 01:32:09 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.520 2010/06/29 22:29:13 momjian Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -1227,7 +1227,7 @@
12271227
<row>
12281228
<entry><literal><function>upper</function>(<parameter>string</parameter>)</literal></entry>
12291229
<entry><type>text</type></entry>
1230-
<entry>Convert string to uppercase</entry>
1230+
<entry>Convert string to upper case</entry>
12311231
<entry><literal>upper('tom')</literal></entry>
12321232
<entry><literal>TOM</literal></entry>
12331233
</row>
@@ -1457,8 +1457,8 @@
14571457
<entry><literal><function>initcap</function>(<parameter>string</parameter>)</literal></entry>
14581458
<entry><type>text</type></entry>
14591459
<entry>
1460-
Convert the first letter of each word to uppercase and the
1461-
rest to lowercase. Words are sequences of alphanumeric
1460+
Convert the first letter of each word to upper case and the
1461+
rest to lower case. Words are sequences of alphanumeric
14621462
characters separated by non-alphanumeric characters.
14631463
</entry>
14641464
<entry><literal>initcap('hi THOMAS')</literal></entry>
@@ -5014,55 +5014,55 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
50145014
</row>
50155015
<row>
50165016
<entry><literal>MONTH</literal></entry>
5017-
<entry>full uppercase month name (blank-padded to 9 chars)</entry>
5017+
<entry>full upper case month name (blank-padded to 9 chars)</entry>
50185018
</row>
50195019
<row>
50205020
<entry><literal>Month</literal></entry>
50215021
<entry>full capitalized month name (blank-padded to 9 chars)</entry>
50225022
</row>
50235023
<row>
50245024
<entry><literal>month</literal></entry>
5025-
<entry>full lowercase month name (blank-padded to 9 chars)</entry>
5025+
<entry>full lower case month name (blank-padded to 9 chars)</entry>
50265026
</row>
50275027
<row>
50285028
<entry><literal>MON</literal></entry>
5029-
<entry>abbreviated uppercase month name (3 chars in English, localized lengths vary)</entry>
5029+
<entry>abbreviated upper case month name (3 chars in English, localized lengths vary)</entry>
50305030
</row>
50315031
<row>
50325032
<entry><literal>Mon</literal></entry>
50335033
<entry>abbreviated capitalized month name (3 chars in English, localized lengths vary)</entry>
50345034
</row>
50355035
<row>
50365036
<entry><literal>mon</literal></entry>
5037-
<entry>abbreviated lowercase month name (3 chars in English, localized lengths vary)</entry>
5037+
<entry>abbreviated lower case month name (3 chars in English, localized lengths vary)</entry>
50385038
</row>
50395039
<row>
50405040
<entry><literal>MM</literal></entry>
50415041
<entry>month number (01-12)</entry>
50425042
</row>
50435043
<row>
50445044
<entry><literal>DAY</literal></entry>
5045-
<entry>full uppercase day name (blank-padded to 9 chars)</entry>
5045+
<entry>full upper case day name (blank-padded to 9 chars)</entry>
50465046
</row>
50475047
<row>
50485048
<entry><literal>Day</literal></entry>
50495049
<entry>full capitalized day name (blank-padded to 9 chars)</entry>
50505050
</row>
50515051
<row>
50525052
<entry><literal>day</literal></entry>
5053-
<entry>full lowercase day name (blank-padded to 9 chars)</entry>
5053+
<entry>full lower case day name (blank-padded to 9 chars)</entry>
50545054
</row>
50555055
<row>
50565056
<entry><literal>DY</literal></entry>
5057-
<entry>abbreviated uppercase day name (3 chars in English, localized lengths vary)</entry>
5057+
<entry>abbreviated upper case day name (3 chars in English, localized lengths vary)</entry>
50585058
</row>
50595059
<row>
50605060
<entry><literal>Dy</literal></entry>
50615061
<entry>abbreviated capitalized day name (3 chars in English, localized lengths vary)</entry>
50625062
</row>
50635063
<row>
50645064
<entry><literal>dy</literal></entry>
5065-
<entry>abbreviated lowercase day name (3 chars in English, localized lengths vary)</entry>
5065+
<entry>abbreviated lower case day name (3 chars in English, localized lengths vary)</entry>
50665066
</row>
50675067
<row>
50685068
<entry><literal>DDD</literal></entry>
@@ -5110,19 +5110,19 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
51105110
</row>
51115111
<row>
51125112
<entry><literal>RM</literal></entry>
5113-
<entry>month in uppercase Roman numerals (I-XII; I=January)</entry>
5113+
<entry>month in upper case Roman numerals (I-XII; I=January)</entry>
51145114
</row>
51155115
<row>
51165116
<entry><literal>rm</literal></entry>
5117-
<entry>month in lowercase Roman numerals (i-xii; i=January)</entry>
5117+
<entry>month in lower case Roman numerals (i-xii; i=January)</entry>
51185118
</row>
51195119
<row>
51205120
<entry><literal>TZ</literal></entry>
5121-
<entry>uppercase time-zone name</entry>
5121+
<entry>upper case time-zone name</entry>
51225122
</row>
51235123
<row>
51245124
<entry><literal>tz</literal></entry>
5125-
<entry>lowercase time-zone name</entry>
5125+
<entry>lower case time-zone name</entry>
51265126
</row>
51275127
</tbody>
51285128
</tgroup>
@@ -5155,12 +5155,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
51555155
</row>
51565156
<row>
51575157
<entry><literal>TH</literal> suffix</entry>
5158-
<entry>uppercase ordinal number suffix</entry>
5158+
<entry>upper case ordinal number suffix</entry>
51595159
<entry><literal>DDTH</literal>, e.g., <literal>12TH</></entry>
51605160
</row>
51615161
<row>
51625162
<entry><literal>th</literal> suffix</entry>
5163-
<entry>lowercase ordinal number suffix</entry>
5163+
<entry>lower case ordinal number suffix</entry>
51645164
<entry><literal>DDth</literal>, e.g., <literal>12th</></entry>
51655165
</row>
51665166
<row>
@@ -5521,12 +5521,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
55215521
</row>
55225522
<row>
55235523
<entry><literal>TH</literal> suffix</entry>
5524-
<entry>uppercase ordinal number suffix</entry>
5524+
<entry>upper case ordinal number suffix</entry>
55255525
<entry><literal>999TH</literal></entry>
55265526
</row>
55275527
<row>
55285528
<entry><literal>th</literal> suffix</entry>
5529-
<entry>lowercase ordinal number suffix</entry>
5529+
<entry>lower case ordinal number suffix</entry>
55305530
<entry><literal>999th</literal></entry>
55315531
</row>
55325532
</tbody>
@@ -8959,7 +8959,7 @@ table2-mapping
89598959
converter will do the work for you. Just write the sequence name enclosed
89608960
in single quotes so that it looks like a literal constant. For
89618961
compatibility with the handling of ordinary
8962-
<acronym>SQL</acronym> names, the string will be converted to lowercase
8962+
<acronym>SQL</acronym> names, the string will be converted to lower case
89638963
unless it contains double quotes around the sequence name. Thus:
89648964
<programlisting>
89658965
nextval('foo') <lineannotation>operates on sequence <literal>foo</literal></>
@@ -12612,7 +12612,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1261212612
with the column. The first input parameter is a table name with
1261312613
optional schema, and the second parameter is a column name. Because
1261412614
the first parameter is potentially a schema and table, it is not treated
12615-
as a double-quoted identifier, meaning it is lowercased by default,
12615+
as a double-quoted identifier, meaning it is lower cased by default,
1261612616
while the second parameter, being just a column name, is treated as
1261712617
double-quoted and has its case preserved. The function returns a value
1261812618
suitably formatted for passing to sequence functions (see <xref

doc/src/sgml/installation.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.346 2010/06/25 16:55:49 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.347 2010/06/29 22:29:13 momjian Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -912,7 +912,7 @@ su - postgres
912912
by GSSAPI).
913913
<literal>postgres</literal> is the default. There's usually no
914914
reason to change this unless you have a Windows environment,
915-
in which case it must be set to uppercase
915+
in which case it must be set to upper case
916916
<literal>POSTGRES</literal>.
917917
</para>
918918
</listitem>

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.310 2010/06/25 17:08:09 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.311 2010/06/29 22:29:14 momjian Exp $ -->
22

33
<chapter id="libpq">
44
<title><application>libpq</application> - C Library</title>
@@ -3157,7 +3157,7 @@ typedef struct {
31573157
This is useful when a user-supplied identifier might contain
31583158
special characters that would otherwise not be interpreted as part
31593159
of the identifier by the SQL parser, or when the identifier might
3160-
contain uppercase characters whose case should be preserved.
3160+
contain upper case characters whose case should be preserved.
31613161
</para>
31623162

31633163
<para>

doc/src/sgml/pgcrypto.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgcrypto.sgml,v 1.8 2009/12/08 20:08:30 mha Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgcrypto.sgml,v 1.9 2010/06/29 22:29:14 momjian Exp $ -->
22

33
<sect1 id="pgcrypto">
44
<title>pgcrypto</title>
@@ -267,7 +267,7 @@
267267
of different hashing algorithms.
268268
The table shows how much time it would take to try all
269269
combinations of characters in an 8-character password, assuming
270-
that the password contains either only lowercase letters, or
270+
that the password contains either only lower case letters, or
271271
upper- and lower-case letters and numbers.
272272
In the <literal>crypt-bf</literal> entries, the number after a slash is
273273
the <parameter>iter_count</parameter> parameter of

doc/src/sgml/plpgsql.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.153 2010/04/27 14:32:40 alvherre Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.154 2010/06/29 22:29:14 momjian Exp $ -->
22

33
<chapter id="plpgsql">
44
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -219,7 +219,7 @@ END <optional> <replaceable>label</replaceable> </optional>;
219219

220220
<para>
221221
All key words are case-insensitive.
222-
Identifiers are implicitly converted to lowercase
222+
Identifiers are implicitly converted to lower case
223223
unless double-quoted, just as they are in ordinary SQL commands.
224224
</para>
225225

0 commit comments

Comments
 (0)