From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 23 Dec 2004 13:19:17 +0000 (+0000)
Subject: Add missing ecpg prototype for newly added functions.
X-Git-Tag: REL8_0_0RC3~37
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9a134b6e4a6c8fc94e377a8f3af1761645a4569;p=postgresql

Add missing ecpg prototype for newly added functions.
---

diff --git a/src/interfaces/ecpg/include/pgtypes_timestamp.h b/src/interfaces/ecpg/include/pgtypes_timestamp.h
index b6f1745a5e..8b3bf941e7 100644
--- a/src/interfaces/ecpg/include/pgtypes_timestamp.h
+++ b/src/interfaces/ecpg/include/pgtypes_timestamp.h
@@ -23,6 +23,8 @@ extern int	PGTYPEStimestamp_sub(timestamp *, timestamp *, interval *);
 extern int	PGTYPEStimestamp_fmt_asc(timestamp *, char *, int, char *);
 extern void PGTYPEStimestamp_current(timestamp *);
 extern int	PGTYPEStimestamp_defmt_asc(char *, char *, timestamp *);
+extern int  PGTYPEStimestamp_add_interval(timestamp *tin, interval *span, timestamp *tout);
+extern int  PGTYPEStimestamp_sub_interval(timestamp *tin, interval *span, timestamp *tout);
 
 #ifdef __cplusplus
 }