Fix a couple of grammatical errors in error messages.

This commit is contained in:
Tom Lane 2002-10-04 17:34:01 +00:00
parent 54670bd504
commit b8dcb505ec

View File

@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* *
@ -750,7 +750,7 @@ abstime_timestamp(PG_FUNCTION_ARGS)
default: default:
abstime2tm(abstime, &tz, tm, &tzn); abstime2tm(abstime, &tz, tm, &tzn);
if (tm2timestamp(tm, 0, NULL, &result) != 0) 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"); "\n\tabstime_timestamp() internal error");
break; break;
}; };
@ -787,7 +787,7 @@ timestamptz_abstime(PG_FUNCTION_ARGS)
} }
/* abstime_timestamptz() /* abstime_timestamptz()
* Convert abstime to timestamp. * Convert abstime to timestamp with time zone.
*/ */
Datum Datum
abstime_timestamptz(PG_FUNCTION_ARGS) abstime_timestamptz(PG_FUNCTION_ARGS)
@ -818,8 +818,8 @@ abstime_timestamptz(PG_FUNCTION_ARGS)
default: default:
abstime2tm(abstime, &tz, tm, &tzn); abstime2tm(abstime, &tz, tm, &tzn);
if (tm2timestamp(tm, 0, &tz, &result) != 0) if (tm2timestamp(tm, 0, &tz, &result) != 0)
elog(ERROR, "Unable convert ABSTIME to TIMESTAMP WITH TIME ZONE" elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP WITH TIME ZONE"
"\n\tabstime_timestamp() internal error"); "\n\tabstime_timestamptz() internal error");
break; break;
}; };