From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: status of CURSORs after DISCONNECT
Date: Thu, 28 Nov 2019 09:58:50 -0500
Message-ID: <31445.1574953130@sss.pgh.pa.us> (raw)
In-Reply-To: <20191128062715.GA2642@c720-r342378>
References: <20191128062715.GA2642@c720-r342378>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, guru@unixarea.de
Subject: Re: status of CURSORs after DISCONNECT
In-Reply-To: <31445.1574953130@sss.pgh.pa.us>
References: <20191128062715.GA2642@c720-r342378> <31445.1574953130@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox