mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Changes from Michael Meskes:
Check strdup calls for out of memory. Set library version to 2.6.2 Synced preproc.y and keywords.c with gram.y and keywords.c yet again. Set version to 2.4.3
This commit is contained in:
@ -52,7 +52,7 @@ exec sql declare cur cursor for
|
||||
|
||||
while (1) {
|
||||
strcpy(msg, "fetch");
|
||||
exec sql fetch cur into :personal:ind_personal, :married:ind_married;
|
||||
exec sql fetch in cur into :personal:ind_personal, :married:ind_married;
|
||||
printf ("%8.8s was born %d (age = %d) %s%s\n", personal.name.arr, personal.birth.born, personal.birth.age, ind_married ? "" : "and married ", ind_married ? "" : married);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user