1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Added some more informix compatibility functions.

This commit is contained in:
Michael Meskes
2003-04-08 12:34:25 +00:00
parent cd203f3395
commit a50f285d8d
6 changed files with 34 additions and 7 deletions

View File

@ -223,7 +223,10 @@ rstrdate (char *str, Date *d)
{
Date dat = PGTYPESdate_from_asc(str, NULL);
/* XXX: ERROR handling hier und in datetime.c */
if (errno != PGTYPES_DATE_BAD_DATE && dat == 0)
return -1218;
*d=dat;
return 0;
}