diff options
author | Peter Eisentraut | 2007-11-07 12:24:24 +0000 |
---|---|---|
committer | Peter Eisentraut | 2007-11-07 12:24:24 +0000 |
commit | f9efb3e46e971a4d34f0e0c92c3ee62c73c2c32c (patch) | |
tree | 750575ce15bbd0447fe054f87b192c45e86f4382 | |
parent | 9a957e72468bbaeaf002063d2ac2f699f6e2afef (diff) |
Use "alternative" instead of "alternate" where it is clearer.
-rw-r--r-- | contrib/dblink/doc/misc | 4 | ||||
-rw-r--r-- | contrib/tsearch2/docs/tsearch2-guide.html | 2 | ||||
-rw-r--r-- | doc/src/sgml/datatype.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_role.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_rule.sgml | 2 | ||||
-rw-r--r-- | src/backend/access/common/heaptuple.c | 2 | ||||
-rw-r--r-- | src/backend/access/common/indextuple.c | 2 | ||||
-rw-r--r-- | src/backend/access/heap/heapam.c | 2 | ||||
-rw-r--r-- | src/backend/catalog/pg_operator.c | 2 | ||||
-rw-r--r-- | src/backend/libpq/README.SSL | 2 | ||||
-rw-r--r-- | src/backend/libpq/be-secure.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/dumputils.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_backup_archiver.h | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 2 | ||||
-rw-r--r-- | src/include/access/htup.h | 2 | ||||
-rw-r--r-- | src/include/utils/datetime.h | 2 | ||||
-rw-r--r-- | src/pl/tcl/pltcl.c | 2 | ||||
-rw-r--r-- | src/test/regress/expected/timestamptz.out | 2 | ||||
-rw-r--r-- | src/test/regress/sql/timestamptz.sql | 2 |
20 files changed, 21 insertions, 21 deletions
diff --git a/contrib/dblink/doc/misc b/contrib/dblink/doc/misc index 2e55ae01c4..811c650b22 100644 --- a/contrib/dblink/doc/misc +++ b/contrib/dblink/doc/misc @@ -63,12 +63,12 @@ Name dblink_build_sql_insert -- builds an insert statement using a local tuple, replacing the selection key field - values with alternate supplied values + values with alternative supplied values dblink_build_sql_delete -- builds a delete statement using supplied values for selection key field values dblink_build_sql_update -- builds an update statement using a local tuple, replacing the selection key field - values with alternate supplied values + values with alternative supplied values Synopsis diff --git a/contrib/tsearch2/docs/tsearch2-guide.html b/contrib/tsearch2/docs/tsearch2-guide.html index d2d764580c..29b7518391 100644 --- a/contrib/tsearch2/docs/tsearch2-guide.html +++ b/contrib/tsearch2/docs/tsearch2-guide.html @@ -701,7 +701,7 @@ simply as a list of lexemes to be included in the vector. Their order was lost, as was the number of times each lexeme appeared. You must keep in mind that directly creating vectors with casting -is <i>not</i> an alternate means of parsing; +is <i>not</i> an alternative means of parsing; it is a way of directly entering lexemes into a vector <i>without</i> parsing. <p> Queries can also be created through casting, diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index c617468b9f..4382d94463 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1180,7 +1180,7 @@ SELECT b, char_length(b) FROM test2; general, to escape an octet, it is converted into the three-digit octal number equivalent of its decimal octet value, and preceded by two backslashes. <xref linkend="datatype-binary-sqlesc"> - shows the characters that must be escaped, and gives the alternate + shows the characters that must be escaped, and gives the alternative escape sequences where applicable. </para> diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 5a99619eb6..fa3d508d08 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -1771,7 +1771,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt <literal>%Ow</literal> <literal>%OW</literal> <literal>%Oy</literal> - are supposed to provide alternate representations. + are supposed to provide alternative representations. </para> <para> Additionally <literal>%OB</literal> implemented to represent diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgml index f24c2658a8..a508063e7d 100644 --- a/doc/src/sgml/ref/create_role.sgml +++ b/doc/src/sgml/ref/create_role.sgml @@ -167,7 +167,7 @@ where <replaceable class="PARAMETER">option</replaceable> can be: privileges, but are not users in the usual sense of the word. If not specified, <literal>NOLOGIN</literal> is the default, except when - <command>CREATE ROLE</> is invoked through its alternate spelling + <command>CREATE ROLE</> is invoked through its alternative spelling <command>CREATE USER</>. </para> </listitem> diff --git a/doc/src/sgml/ref/create_rule.sgml b/doc/src/sgml/ref/create_rule.sgml index 798b9b4305..65c5d56819 100644 --- a/doc/src/sgml/ref/create_rule.sgml +++ b/doc/src/sgml/ref/create_rule.sgml @@ -39,7 +39,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS <para> The <productname>PostgreSQL</productname> rule system allows one to - define an alternate action to be performed on insertions, updates, + define an alternative action to be performed on insertions, updates, or deletions in database tables. Roughly speaking, a rule causes additional commands to be executed when a given command on a given table is executed. Alternatively, an <literal>INSTEAD</literal> diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index 071b9867eb..daae267628 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -489,7 +489,7 @@ heap_attisnull(HeapTuple tup, int attnum) * * This caches attribute offsets in the attribute descriptor. * - * An alternate way to speed things up would be to cache offsets + * An alternative way to speed things up would be to cache offsets * with the tuple, but that seems more difficult unless you take * the storage hit of actually putting those offsets into the * tuple you send to disk. Yuck. diff --git a/src/backend/access/common/indextuple.c b/src/backend/access/common/indextuple.c index 8a4660c946..fbe2ebe001 100644 --- a/src/backend/access/common/indextuple.c +++ b/src/backend/access/common/indextuple.c @@ -186,7 +186,7 @@ index_form_tuple(TupleDesc tupleDescriptor, * * This caches attribute offsets in the attribute descriptor. * - * An alternate way to speed things up would be to cache offsets + * An alternative way to speed things up would be to cache offsets * with the tuple, but that seems more difficult unless you take * the storage hit of actually putting those offsets into the * tuple you send to disk. Yuck. diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 2a6e2f5c3b..a9c0810683 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -1056,7 +1056,7 @@ heap_openrv(const RangeVar *relation, LOCKMODE lockmode) /* ---------------- * heap_beginscan - begin relation scan * - * heap_beginscan_bm is an alternate entry point for setting up a HeapScanDesc + * heap_beginscan_bm is an alternative entry point for setting up a HeapScanDesc * for a bitmap heap scan. Although that scan technology is really quite * unlike a standard seqscan, there is just enough commonality to make it * worth using the same data structure. diff --git a/src/backend/catalog/pg_operator.c b/src/backend/catalog/pg_operator.c index bc98e9fc12..76d7c86214 100644 --- a/src/backend/catalog/pg_operator.c +++ b/src/backend/catalog/pg_operator.c @@ -597,7 +597,7 @@ OperatorCreate(const char *operatorName, /* * If a commutator and/or negator link is provided, update the other * operator(s) to point at this one, if they don't already have a link. - * This supports an alternate style of operator definition wherein the + * This supports an alternative style of operator definition wherein the * user first defines one operator without giving negator or commutator, * then defines the other operator of the pair with the proper commutator * or negator attribute. That style doesn't require creation of a shell, diff --git a/src/backend/libpq/README.SSL b/src/backend/libpq/README.SSL index 9b00a4f0ff..b45d53c829 100644 --- a/src/backend/libpq/README.SSL +++ b/src/backend/libpq/README.SSL @@ -196,7 +196,7 @@ that establishes an SSH tunnel when the program is launched: /usr/bin/ssh -1 -i $IDENTITY -n $HOST 'sleep 60' & \ /usr/bin/psql -h $HOST -p 5555 $1 -Alternately, the system could run a daemon that establishes and maintains +Alternatively, the system could run a daemon that establishes and maintains the tunnel. This is preferrable when multiple users need to establish similar tunnels to the same remote site. diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c index 8d87d70dff..7214d35096 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -151,7 +151,7 @@ char *SSLCipherSuites = NULL; * unsecured connection without fully informing the user. * Very uncool. * - * Alternately, the backend could attempt to load these files + * Alternatively, the backend could attempt to load these files * on startup if SSL is enabled - and refuse to start if any * do not exist - but this would tend to piss off DBAs. * diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c index 096930c950..2d8de0abe3 100644 --- a/src/bin/pg_dump/dumputils.c +++ b/src/bin/pg_dump/dumputils.c @@ -776,7 +776,7 @@ AddAcl(PQExpBuffer aclbuf, const char *keyword) * schemavar: name of query variable to match against a schema-name pattern. * Can be NULL if no schema. * namevar: name of query variable to match against an object-name pattern. - * altnamevar: NULL, or name of an alternate variable to match against name. + * altnamevar: NULL, or name of an alternative variable to match against name. * visibilityrule: clause to use if we want to restrict to visible objects * (for example, "pg_catalog.pg_table_is_visible(p.oid)"). Can be NULL. * diff --git a/src/bin/pg_dump/pg_backup_archiver.h b/src/bin/pg_dump/pg_backup_archiver.h index c7d9b1282b..50b4bde569 100644 --- a/src/bin/pg_dump/pg_backup_archiver.h +++ b/src/bin/pg_dump/pg_backup_archiver.h @@ -225,7 +225,7 @@ typedef struct _archiveHandle StartBlobPtr StartBlobPtr; EndBlobPtr EndBlobPtr; - CustomOutPtr CustomOutPtr; /* Alternate script output routine */ + CustomOutPtr CustomOutPtr; /* Alternative script output routine */ /* Stuff for direct DB connection */ char *archdbname; /* DB name *read* from archive */ diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index e16684317b..8b16711d4f 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -507,7 +507,7 @@ help(void) printf(_("\nConnection options:\n")); printf(_(" -h, --host=HOSTNAME database server host or socket directory\n")); - printf(_(" -l, --database=dbname specify an alternate default database\n")); + printf(_(" -l, --database=dbname specify an alternative default database\n")); printf(_(" -p, --port=PORT database server port number\n")); printf(_(" -U, --username=NAME connect as specified database user\n")); printf(_(" -W, --password force password prompt (should happen automatically)\n")); diff --git a/src/include/access/htup.h b/src/include/access/htup.h index d95fe7f96d..edd8bde4ba 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -406,7 +406,7 @@ do { \ /* - * MinimalTuple is an alternate representation that is used for transient + * MinimalTuple is an alternative representation that is used for transient * tuples inside the executor, in places where transaction status information * is not required, the tuple rowtype is known, and shaving off a few bytes * is worthwhile because we need to store many tuples. The representation diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index d13874537f..379071fb63 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -29,7 +29,7 @@ * String definitions for standard time quantities. * * These strings are the defaults used to form output time strings. - * Other alternate forms are hardcoded into token tables in datetime.c. + * Other alternative forms are hardcoded into token tables in datetime.c. * ---------------------------------------------------------------- */ diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index 4b77a40d8e..7fbfff8f40 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -505,7 +505,7 @@ pltcl_call_handler(PG_FUNCTION_ARGS) /* - * Alternate handler for unsafe functions + * Alternative handler for unsafe functions */ PG_FUNCTION_INFO_V1(pltclu_call_handler); diff --git a/src/test/regress/expected/timestamptz.out b/src/test/regress/expected/timestamptz.out index e6213a5d9b..7c95e53d67 100644 --- a/src/test/regress/expected/timestamptz.out +++ b/src/test/regress/expected/timestamptz.out @@ -153,7 +153,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 -0097'); ERROR: time zone displacement out of range: "Feb 16 17:32:01 -0097" INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 5097 BC'); ERROR: timestamp out of range: "Feb 16 17:32:01 5097 BC" --- Alternate field order that we've historically supported (sort of) +-- Alternative field order that we've historically supported (sort of) -- with regular and POSIXy timezone specs SELECT 'Wed Jul 11 10:51:14 America/New_York 2001'::timestamptz; timestamptz diff --git a/src/test/regress/sql/timestamptz.sql b/src/test/regress/sql/timestamptz.sql index 6cac1a33c7..7ed0963b00 100644 --- a/src/test/regress/sql/timestamptz.sql +++ b/src/test/regress/sql/timestamptz.sql @@ -127,7 +127,7 @@ INSERT INTO TIMESTAMPTZ_TBL VALUES ('Jan 01 17:32:01 2001'); INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 -0097'); INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 16 17:32:01 5097 BC'); --- Alternate field order that we've historically supported (sort of) +-- Alternative field order that we've historically supported (sort of) -- with regular and POSIXy timezone specs SELECT 'Wed Jul 11 10:51:14 America/New_York 2001'::timestamptz; SELECT 'Wed Jul 11 10:51:14 GMT-4 2001'::timestamptz; |