1
0
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:
Michael Meskes
2003-06-13 10:50:58 +00:00
parent a2d08b99c2
commit 26188e8c17
10 changed files with 123 additions and 30 deletions

View File

@ -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;