|
9 | 9 | *
|
10 | 10 | *
|
11 | 11 | * 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 $ |
13 | 13 | *
|
14 | 14 | * NOTES
|
15 | 15 | *
|
@@ -750,7 +750,7 @@ abstime_timestamp(PG_FUNCTION_ARGS)
|
750 | 750 | default:
|
751 | 751 | abstime2tm(abstime, &tz, tm, &tzn);
|
752 | 752 | if (tm2timestamp(tm, 0, NULL, &result) != 0)
|
753 |
| - elog(ERROR, "Unable convert ABSTIME to TIMESTAMP" |
| 753 | + elog(ERROR, "Unable to convert ABSTIME to TIMESTAMP" |
754 | 754 | "\n\tabstime_timestamp() internal error");
|
755 | 755 | break;
|
756 | 756 | };
|
@@ -787,7 +787,7 @@ timestamptz_abstime(PG_FUNCTION_ARGS)
|
787 | 787 | }
|
788 | 788 |
|
789 | 789 | /* abstime_timestamptz()
|
790 |
| - * Convert abstime to timestamp. |
| 790 | + * Convert abstime to timestamp with time zone. |
791 | 791 | */
|
792 | 792 | Datum
|
793 | 793 | abstime_timestamptz(PG_FUNCTION_ARGS)
|
@@ -818,8 +818,8 @@ abstime_timestamptz(PG_FUNCTION_ARGS)
|
818 | 818 | default:
|
819 | 819 | abstime2tm(abstime, &tz, tm, &tzn);
|
820 | 820 | 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"); |
823 | 823 | break;
|
824 | 824 | };
|
825 | 825 |
|
|
0 commit comments