Matthias Apitz <guru@unixarea.de> writes:
> When an ESQL/C written process issues a
> EXEC SQL DISCONNECT [connection];
> do the opened CURSOR(s) still survive?
No. Cursors are purely session-local objects in Postgres.
I'm a bit surprised to hear it might be different in Sybase.
regards, tom lane