summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-11-19 09:05:02 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-11-19 09:05:02 +0000
commit5e86d226e46cf4e0efe281cfda3c1e8d8171dffd (patch)
treec66c47478d153358db41dbe169e9fb3ab9252b2b /src
parent5590d5fe99d88c1a9d47852e6be36aa590401f01 (diff)
downloadpostgresql-5e86d226e46cf4e0efe281cfda3c1e8d8171dffd.tar.gz
Grammatical and spelling fixes.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/datetime.c6
-rw-r--r--src/backend/utils/adt/formatting.c4
-rw-r--r--src/backend/utils/adt/varlena.c6
3 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c
index 66562f6d69..a6cb8c5695 100644
--- a/src/backend/utils/adt/datetime.c
+++ b/src/backend/utils/adt/datetime.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.78 2001/11/06 16:29:51 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.79 2001/11/19 09:05:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -953,7 +953,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
if (tm->tm_year > 0)
tm->tm_year = -(tm->tm_year - 1);
else
- elog(ERROR, "Inconsistant use of year %04d and 'BC'", tm->tm_year);
+ elog(ERROR, "Inconsistent use of year %04d and 'BC'", tm->tm_year);
}
else if (is2digits)
{
@@ -1405,7 +1405,7 @@ DecodeDate(char *str, int fmask, int *tmask, struct tm * tm)
if (tm->tm_year > 0)
tm->tm_year = -(tm->tm_year - 1);
else
- elog(ERROR, "Inconsistant use of year %04d and 'BC'", tm->tm_year);
+ elog(ERROR, "Inconsistent use of year %04d and 'BC'", tm->tm_year);
}
else if (is2digits)
{
diff --git a/src/backend/utils/adt/formatting.c b/src/backend/utils/adt/formatting.c
index d7c92bb91b..07f868b45f 100644
--- a/src/backend/utils/adt/formatting.c
+++ b/src/backend/utils/adt/formatting.c
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------
* formatting.c
*
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.44 2001/11/05 17:46:29 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.45 2001/11/19 09:05:01 tgl Exp $
*
*
* Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group
@@ -3050,7 +3050,7 @@ to_timestamp(PG_FUNCTION_ARGS)
if (tm.tm_year > 0)
tm.tm_year = -(tm.tm_year - 1);
else
- elog(ERROR, "Inconsistant use of year %04d and 'BC'", tm.tm_year);
+ elog(ERROR, "Inconsistent use of year %04d and 'BC'", tm.tm_year);
}
if (tmfc.j)
diff --git a/src/backend/utils/adt/varlena.c b/src/backend/utils/adt/varlena.c
index a6600a2254..d2e7b7d518 100644
--- a/src/backend/utils/adt/varlena.c
+++ b/src/backend/utils/adt/varlena.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.75 2001/11/18 12:07:07 ishii Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.76 2001/11/19 09:05:02 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -328,7 +328,7 @@ textcat(PG_FUNCTION_ARGS)
* - string length
*
* If the starting position is zero or less, then return from the start of the string
- * adjusting the length to be consistant with the "negative start" per SQL92.
+ * adjusting the length to be consistent with the "negative start" per SQL92.
* If the length is less than zero, return the remaining string.
*
* Note that the arguments operate on octet length,
@@ -740,7 +740,7 @@ byteacat(PG_FUNCTION_ARGS)
* - string length
*
* If the starting position is zero or less, then return from the start of the string
- * adjusting the length to be consistant with the "negative start" per SQL92.
+ * adjusting the length to be consistent with the "negative start" per SQL92.
* If the length is less than zero, return the remaining string.
*
*/