Skip to content

Commit b8dcb50

Browse files
committed
Fix a couple of grammatical errors in error messages.
1 parent 54670bd commit b8dcb50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/utils/adt/nabstime.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.99 2002/09/04 20:31:28 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.100 2002/10/04 17:34:01 tgl Exp $
1313
*
1414
* NOTES
1515
*
@@ -750,7 +750,7 @@ abstime_timestamp(PG_FUNCTION_ARGS)
750750
default:
751751
abstime2tm(abstime, &tz, tm, &tzn);
752752
if (tm2timestamp(tm, 0, NULL, &result) != 0)
753-
elog(ERROR, "Unable convert ABSTIME to TIMESTAMP"
753+
elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP"
754754
"\n\tabstime_timestamp() internal error");
755755
break;
756756
};
@@ -787,7 +787,7 @@ timestamptz_abstime(PG_FUNCTION_ARGS)
787787
}
788788

789789
/* abstime_timestamptz()
790-
* Convert abstime to timestamp.
790+
* Convert abstime to timestamp with time zone.
791791
*/
792792
Datum
793793
abstime_timestamptz(PG_FUNCTION_ARGS)
@@ -818,8 +818,8 @@ abstime_timestamptz(PG_FUNCTION_ARGS)
818818
default:
819819
abstime2tm(abstime, &tz, tm, &tzn);
820820
if (tm2timestamp(tm, 0, &tz, &result) != 0)
821-
elog(ERROR, "Unable convert ABSTIME to TIMESTAMP WITH TIME ZONE"
822-
"\n\tabstime_timestamp() internal error");
821+
elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP WITH TIME ZONE"
822+
"\n\tabstime_timestamptz() internal error");
823823
break;
824824
};
825825

0 commit comments

Comments
 (0)