mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Added some more informix compatibility functions.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user