mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
- Enable FETCH without INTO.
- Compatibility functions for INFORMIX handling of DECLARE statement.
This commit is contained in:
@ -12,6 +12,9 @@ typedef union { int integer; short smallint; } ind;
|
||||
#define BUFFERSIZ 8
|
||||
exec sql type str is varchar[BUFFERSIZ];
|
||||
|
||||
exec sql declare cur cursor for
|
||||
select name, born, age, married, children from meskes;
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
@ -34,9 +37,6 @@ exec sql end declare section;
|
||||
|
||||
exec sql var ind_married is long;
|
||||
|
||||
exec sql declare cur cursor for
|
||||
select name, born, age, married, children from meskes;
|
||||
|
||||
char msg[128];
|
||||
FILE *dbgs;
|
||||
|
||||
|
Reference in New Issue
Block a user