diff options
author | Michael Meskes <meskes@postgresql.org> | 2003-06-20 13:36:34 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2003-06-20 13:36:34 +0000 |
commit | 2cbaaee6c3bd4f41470aa44d6a620de0e93d1036 (patch) | |
tree | 014d0850818f0d2326a9eb6c19e49111af5a7b4c /src/interfaces/ecpg/compatlib/informix.c | |
parent | d9b2401d909c32eca81c44bf380a3f897e1cbf4e (diff) | |
download | postgresql-2cbaaee6c3bd4f41470aa44d6a620de0e93d1036.tar.gz postgresql-2cbaaee6c3bd4f41470aa44d6a620de0e93d1036.zip |
Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r-- | src/interfaces/ecpg/compatlib/informix.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index 5e3e94b416f..2ac89e8f7e1 100644 --- a/src/interfaces/ecpg/compatlib/informix.c +++ b/src/interfaces/ecpg/compatlib/informix.c @@ -695,6 +695,16 @@ ECPGconnect_informix(int lineno, const char *name, const char *user, const char return (ECPGconnect(lineno, informix_name, user, passwd, connection_name , autocommit)); } +bool +ECPGdeallocate_informix(int lineno, char *name) +{ + ECPGdeallocate_one(lineno, name); + + /* Just ignore all errors since we do not know the list of cursors we + * are allowed to free. We have to trust that the software. */ + return true; +} + static struct var_list { int number; |