aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-06-19 09:52:11 +0000
committerMichael Meskes <meskes@postgresql.org>2003-06-19 09:52:11 +0000
commit8902aaaa6cbe0776a3214b4ae88602263b2a150e (patch)
tree98c3302f0a36cc7c2d0e8f358aab75a9bb89ce72 /src/interfaces/ecpg/compatlib/informix.c
parent4d9eede82f8803dca9e5275e5662f1068a8d5c32 (diff)
downloadpostgresql-8902aaaa6cbe0776a3214b4ae88602263b2a150e.tar.gz
postgresql-8902aaaa6cbe0776a3214b4ae88602263b2a150e.zip
Fixed fetch into char * and added missing prototype for an Informix function.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index 3729fe3dd1c..5e3e94b416f 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -343,6 +343,12 @@ rmdyjul (short mdy[3], Date *d)
return 0;
}
+int
+rdayofweek(Date d)
+{
+ return(PGTYPESdate_dayofweek(d));
+}
+
/* And the datetime stuff */
void