aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
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