From e1f8d97e49db3cc7bbcd4869213aba6942c38756 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 29 Jun 2010 22:29:14 +0000 Subject: [PATCH] In documentation, use "lower case"/"upper case" consistently (use space between words). --- doc/src/sgml/citext.sgml | 6 ++--- doc/src/sgml/client-auth.sgml | 4 ++-- doc/src/sgml/config.sgml | 6 ++--- doc/src/sgml/func.sgml | 44 +++++++++++++++++----------------- doc/src/sgml/installation.sgml | 4 ++-- doc/src/sgml/libpq.sgml | 4 ++-- doc/src/sgml/pgcrypto.sgml | 4 ++-- doc/src/sgml/plpgsql.sgml | 4 ++-- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/doc/src/sgml/citext.sgml b/doc/src/sgml/citext.sgml index bfef39d744..49b0989815 100644 --- a/doc/src/sgml/citext.sgml +++ b/doc/src/sgml/citext.sgml @@ -1,4 +1,4 @@ - + citext @@ -58,8 +58,8 @@ The citext data type allows you to eliminate calls to lower in SQL queries, and allows a primary key to be case-insensitive. citext is locale-aware, just - like text, which means that the comparison of uppercase and - lowercase characters is dependent on the rules of + like text, which means that the comparison of upper case and + lower case characters is dependent on the rules of the LC_CTYPE locale setting. Again, this behavior is identical to the use of lower in queries. But because it's done transparently by the datatype, you don't have to remember to do diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index 1c145b578a..0afaa820e9 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1,4 +1,4 @@ - + Client Authentication @@ -994,7 +994,7 @@ omicron bryanh guest1 on the same host. Some Kerberos implementations might also require a different service name, such as Microsoft Active Directory which requires the service name - to be in uppercase (POSTGRES). + to be in upper case (POSTGRES). diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index e7b9c107f4..b498cc2658 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -1015,7 +1015,7 @@ SET ENABLE_SEQSCAN TO OFF; mylib.so (or on some platforms, mylib.sl) to be preloaded from the installation's standard library directory. - All library names are converted to lowercase unless double-quoted. + All library names are converted to lower case unless double-quoted. If more than one library is to be loaded, separate their names with commas. This parameter can only be set at server start. @@ -4840,7 +4840,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' This variable specifies one or more shared libraries that are to be preloaded at connection start. If more than one library is to be loaded, separate their names with commas. All library - names are converted to lowercase unless double-quoted. + names are converted to lower case unless double-quoted. This parameter cannot be changed after the start of a particular session. diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 3037aaf1a6..fd28615ae0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -1227,7 +1227,7 @@ upper(string) text - Convert string to uppercase + Convert string to upper case upper('tom') TOM @@ -1457,8 +1457,8 @@ initcap(string) text - Convert the first letter of each word to uppercase and the - rest to lowercase. Words are sequences of alphanumeric + Convert the first letter of each word to upper case and the + rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters. initcap('hi THOMAS') @@ -5014,7 +5014,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); MONTH - full uppercase month name (blank-padded to 9 chars) + full upper case month name (blank-padded to 9 chars) Month @@ -5022,11 +5022,11 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); month - full lowercase month name (blank-padded to 9 chars) + full lower case month name (blank-padded to 9 chars) MON - abbreviated uppercase month name (3 chars in English, localized lengths vary) + abbreviated upper case month name (3 chars in English, localized lengths vary) Mon @@ -5034,7 +5034,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); mon - abbreviated lowercase month name (3 chars in English, localized lengths vary) + abbreviated lower case month name (3 chars in English, localized lengths vary) MM @@ -5042,7 +5042,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); DAY - full uppercase day name (blank-padded to 9 chars) + full upper case day name (blank-padded to 9 chars) Day @@ -5050,11 +5050,11 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); day - full lowercase day name (blank-padded to 9 chars) + full lower case day name (blank-padded to 9 chars) DY - abbreviated uppercase day name (3 chars in English, localized lengths vary) + abbreviated upper case day name (3 chars in English, localized lengths vary) Dy @@ -5062,7 +5062,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); dy - abbreviated lowercase day name (3 chars in English, localized lengths vary) + abbreviated lower case day name (3 chars in English, localized lengths vary) DDD @@ -5110,19 +5110,19 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); RM - month in uppercase Roman numerals (I-XII; I=January) + month in upper case Roman numerals (I-XII; I=January) rm - month in lowercase Roman numerals (i-xii; i=January) + month in lower case Roman numerals (i-xii; i=January) TZ - uppercase time-zone name + upper case time-zone name tz - lowercase time-zone name + lower case time-zone name @@ -5155,12 +5155,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); TH suffix - uppercase ordinal number suffix + upper case ordinal number suffix DDTH, e.g., 12TH th suffix - lowercase ordinal number suffix + lower case ordinal number suffix DDth, e.g., 12th @@ -5521,12 +5521,12 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); TH suffix - uppercase ordinal number suffix + upper case ordinal number suffix 999TH th suffix - lowercase ordinal number suffix + lower case ordinal number suffix 999th @@ -8959,7 +8959,7 @@ table2-mapping converter will do the work for you. Just write the sequence name enclosed in single quotes so that it looks like a literal constant. For compatibility with the handling of ordinary - SQL names, the string will be converted to lowercase + SQL names, the string will be converted to lower case unless it contains double quotes around the sequence name. Thus: nextval('foo') operates on sequence foo @@ -12612,7 +12612,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); with the column. The first input parameter is a table name with optional schema, and the second parameter is a column name. Because the first parameter is potentially a schema and table, it is not treated - as a double-quoted identifier, meaning it is lowercased by default, + as a double-quoted identifier, meaning it is lower cased by default, while the second parameter, being just a column name, is treated as double-quoted and has its case preserved. The function returns a value suitably formatted for passing to sequence functions (see + <![%standalone-include[<productname>PostgreSQL</>]]> @@ -912,7 +912,7 @@ su - postgres by GSSAPI). <literal>postgres</literal> is the default. There's usually no reason to change this unless you have a Windows environment, - in which case it must be set to uppercase + in which case it must be set to upper case <literal>POSTGRES</literal>. </para> </listitem> diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 460e4ecd51..9f74024d45 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.310 2010/06/25 17:08:09 rhaas Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.311 2010/06/29 22:29:14 momjian Exp $ --> <chapter id="libpq"> <title><application>libpq</application> - C Library @@ -3157,7 +3157,7 @@ typedef struct { This is useful when a user-supplied identifier might contain special characters that would otherwise not be interpreted as part of the identifier by the SQL parser, or when the identifier might - contain uppercase characters whose case should be preserved. + contain upper case characters whose case should be preserved. diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index a7d59bf183..64be7cc73d 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -1,4 +1,4 @@ - + pgcrypto @@ -267,7 +267,7 @@ of different hashing algorithms. The table shows how much time it would take to try all combinations of characters in an 8-character password, assuming - that the password contains either only lowercase letters, or + that the password contains either only lower case letters, or upper- and lower-case letters and numbers. In the crypt-bf entries, the number after a slash is the iter_count parameter of diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 25b8639827..1ed946d10e 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1,4 +1,4 @@ - + <application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language @@ -219,7 +219,7 @@ END label ; All key words are case-insensitive. - Identifiers are implicitly converted to lowercase + Identifiers are implicitly converted to lower case unless double-quoted, just as they are in ordinary SQL commands. -- 2.40.0