diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2007-11-07 12:24:24 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2007-11-07 12:24:24 +0000 |
commit | 5f9869d0ee1ec8b4d45cc50334cd8c5582969f3b (patch) | |
tree | 557979f35c5b949d1fd8db7375b10fea6623aea6 /src | |
parent | e9d7bd2650f63f3395d8d597c37caffc67803b94 (diff) | |
download | postgresql-5f9869d0ee1ec8b4d45cc50334cd8c5582969f3b.tar.gz postgresql-5f9869d0ee1ec8b4d45cc50334cd8c5582969f3b.zip |
Use "alternative" instead of "alternate" where it is clearer.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 4 | ||||
-rw-r--r-- | src/backend/access/common/indextuple.c | 4 | ||||
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 | ||||
-rw-r--r-- | src/backend/catalog/pg_operator.c | 4 | ||||
-rw-r--r-- | src/backend/libpq/README.SSL | 2 | ||||
-rw-r--r-- | src/backend/libpq/be-secure.c | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/dumputils.c | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_backup_archiver.h | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 4 | ||||
-rw-r--r-- | src/include/access/htup.h | 4 | ||||
-rw-r--r-- | src/include/utils/datetime.h | 4 | ||||
-rw-r--r-- | src/pl/tcl/pltcl.c | 4 | ||||
-rw-r--r-- | src/test/regress/expected/timestamptz.out | 2 | ||||
-rw-r--r-- | src/test/regress/sql/timestamptz.sql | 2 |
14 files changed, 25 insertions, 25 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index f1a80d6feee..a6dab8da121 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -57,7 +57,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.117 2007/04/06 04:21:41 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.118 2007/11/07 12:24:23 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 471d28c28c4..5412ca0cf3d 100644 --- a/src/backend/access/common/indextuple.c +++ b/src/backend/access/common/indextuple.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.82 2007/04/06 04:21:41 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/common/indextuple.c,v 1.83 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 95890a86c4a..052393fc6b9 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.243 2007/10/16 17:05:26 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.244 2007/11/07 12:24:24 petere Exp $ * * * INTERFACE ROUTINES @@ -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 10a1285205e..55a0cc0839b 100644 --- a/src/backend/catalog/pg_operator.c +++ b/src/backend/catalog/pg_operator.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/catalog/pg_operator.c,v 1.100 2007/01/05 22:19:25 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/catalog/pg_operator.c,v 1.101 2007/11/07 12:24:24 petere Exp $ * * NOTES * these routines moved here from commands/define.c and somewhat cleaned up. @@ -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 9b00a4f0fff..b45d53c8296 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 dfff484db83..efb8ecbb773 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -11,7 +11,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.80 2007/05/18 01:20:16 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.81 2007/11/07 12:24:24 petere Exp $ * * Since the server static private key ($DataDir/server.key) * will normally be stored unencrypted so that the database @@ -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 02e3264658e..c2023383465 100644 --- a/src/bin/pg_dump/dumputils.c +++ b/src/bin/pg_dump/dumputils.c @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.37 2007/07/10 00:21:31 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.38 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 9e6e06daa8d..d8520ec9d6b 100644 --- a/src/bin/pg_dump/pg_backup_archiver.h +++ b/src/bin/pg_dump/pg_backup_archiver.h @@ -17,7 +17,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.75 2007/02/19 15:05:06 mha Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.76 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 319f2952281..d38d6ff4d85 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.94 2007/10/28 21:55:52 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.95 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 32a27c972cb..e7f46c63844 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.94 2007/09/20 17:56:32 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.95 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 8b17ae8b9ed..3a6c6e69060 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.67 2007/06/12 16:01:31 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.68 2007/11/07 12:24:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -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 7f2cd543450..675ec9597ad 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -2,7 +2,7 @@ * pltcl.c - PostgreSQL support for Tcl as * procedural language (PL) * - * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.115 2007/10/05 17:06:11 tgl Exp $ + * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.116 2007/11/07 12:24:24 petere Exp $ * **********************************************************************/ @@ -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 e6213a5d9b7..7c95e53d671 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 6cac1a33c74..7ed0963b009 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; |