mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
From: Dr. Michael Meskes <meskes@online-club.de>
So this should finally get cursors working. There was an ugly bug in it.
This commit is contained in:
@ -42,8 +42,8 @@ exec sql end declare section;
|
||||
exec sql commit;
|
||||
|
||||
strcpy(msg, "declare");
|
||||
exec sql declare cur cursor for
|
||||
select name, born, age, married from meskes;
|
||||
exec sql declare cur cursor for
|
||||
select name, born, age, married from meskes;
|
||||
|
||||
strcpy(msg, "open");
|
||||
exec sql open cur;
|
||||
|
Reference in New Issue
Block a user