From c06331a47da2d645909611392d9efaf2bc310bcd Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Tue, 23 Dec 1997 19:23:09 +0000
Subject: [PATCH] Change a few routine names back to full length now that
 pg_proc allows  names over 16 characters. datet_datetime() ->
 datetime_datetime(), etc.

---
 src/backend/utils/adt/datetime.c  | 10 ++++------
 src/backend/utils/adt/timestamp.c |  8 ++++----
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c
index f3b828f259e..065da7a28e1 100644
--- a/src/backend/utils/adt/datetime.c
+++ b/src/backend/utils/adt/datetime.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.17 1997/10/25 05:16:09 thomas Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.18 1997/12/23 19:23:07 thomas Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -594,13 +594,11 @@ datetime_time(DateTime *datetime)
 } /* datetime_time() */
 
 
-/* datet_datetime()
+/* datetime_datetime()
  * Convert date and time to datetime data type.
- * Should be called datetime_datetime()
- *  but need <= 16 characters for function names.
  */
 DateTime *
-datet_datetime(DateADT date, TimeADT *time)
+datetime_datetime(DateADT date, TimeADT *time)
 {
 	DateTime   *result;
 
@@ -614,7 +612,7 @@ datet_datetime(DateADT date, TimeADT *time)
 	}
 
 	return (result);
-} /* datet_datetime() */
+} /* datetime_datetime() */
 
 
 int32							/* RelativeTime */
diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c
index fcad2903ca9..f7ddf6199d2 100644
--- a/src/backend/utils/adt/timestamp.c
+++ b/src/backend/utils/adt/timestamp.c
@@ -103,13 +103,13 @@ timestampge(time_t t1, time_t t2)
 }
 
 DateTime *
-stamp_datetime(time_t timestamp)
+timestamp_datetime(time_t timestamp)
 {
 	return(abstime_datetime((AbsoluteTime) timestamp));
-} /* stamp_datetime() */
+} /* timestamp_datetime() */
 
 time_t
-datetime_stamp(DateTime *datetime)
+datetime_timestamp(DateTime *datetime)
 {
 	return((AbsoluteTime) datetime_abstime(datetime));
-} /* datetime_stamp() */
+} /* datetime_timestamp() */
-- 
GitLab