From b8dcb505ecb4565ca68db81e03c87e8ee5cd5821 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri, 4 Oct 2002 17:34:01 +0000
Subject: [PATCH] Fix a couple of grammatical errors in error messages.

---
 src/backend/utils/adt/nabstime.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index 3b9c3ac272b..ae929c76ec2 100644
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.99 2002/09/04 20:31:28 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.100 2002/10/04 17:34:01 tgl Exp $
  *
  * NOTES
  *
@@ -750,7 +750,7 @@ abstime_timestamp(PG_FUNCTION_ARGS)
 		default:
 			abstime2tm(abstime, &tz, tm, &tzn);
 			if (tm2timestamp(tm, 0, NULL, &result) != 0)
-				elog(ERROR, "Unable convert ABSTIME to TIMESTAMP"
+				elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP"
 					 "\n\tabstime_timestamp() internal error");
 			break;
 	};
@@ -787,7 +787,7 @@ timestamptz_abstime(PG_FUNCTION_ARGS)
 }
 
 /* abstime_timestamptz()
- * Convert abstime to timestamp.
+ * Convert abstime to timestamp with time zone.
  */
 Datum
 abstime_timestamptz(PG_FUNCTION_ARGS)
@@ -818,8 +818,8 @@ abstime_timestamptz(PG_FUNCTION_ARGS)
 		default:
 			abstime2tm(abstime, &tz, tm, &tzn);
 			if (tm2timestamp(tm, 0, &tz, &result) != 0)
-				elog(ERROR, "Unable convert ABSTIME to TIMESTAMP WITH TIME ZONE"
-					 "\n\tabstime_timestamp() internal error");
+				elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP WITH TIME ZONE"
+					 "\n\tabstime_timestamptz() internal error");
 			break;
 	};
 
-- 
GitLab