1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

- Made sure Informix style decimal vars are initialized. They use a

fixed amount of digits and not an allocated one. So we have to work
  around. PostgreSQL numeric type remains the same.
- In INFORMIX_SE mode with autcommit set, make all cursors be "with
  hold". Is this really they way SE behaves?
This commit is contained in:
Michael Meskes
2003-06-29 16:52:58 +00:00
parent 4355d4fb21
commit cf883ea95c
5 changed files with 41 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ main()
char *text="error\n";
Numeric *value1, *value2, *res;
exec sql begin declare section;
decimal(14,7) des = {0, 0, 0, 0, 0, NULL, NULL} ;
numeric(14,7) des = {0, 0, 0, 0, 0, NULL, NULL} ;
exec sql end declare section;
double d;
FILE *dbgs;