Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikib4-0005EF-FQ for pgsql-general@arkaria.postgresql.org; Fri, 27 Dec 2019 05:55:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ikib1-0003Kf-Ij for pgsql-general@arkaria.postgresql.org; Fri, 27 Dec 2019 05:55:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikib1-0003GS-52 for pgsql-general@lists.postgresql.org; Fri, 27 Dec 2019 05:55:35 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ikiay-0007bM-1O for pgsql-general@lists.postgresql.org; Fri, 27 Dec 2019 05:55:33 +0000 Received: from [188.174.51.54] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1ikiar-00050T-1Y; Fri, 27 Dec 2019 06:55:25 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id xBR5tNpk003124 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 27 Dec 2019 06:55:24 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id xBR5tNYJ003123; Fri, 27 Dec 2019 06:55:23 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 27 Dec 2019 06:55:22 +0100 From: Matthias Apitz To: pgsql-general@lists.postgresql.org Subject: testing in ESQL/C if a CUSROR "foo" is open? Message-ID: <20191227055522.GA2995@c720-r342378> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.51.54 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Is there any way (without looking up the name in table 'pg_cursors') to see= if a cursor "foo" is still open? Thanks matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAl4FnMcACgkQR8z35Hb+ nRH7LA/9F65TbEygMqBR1IcDD0MLoMPR1wei468RdN5mNaCBiiRpnxtSmHLC2UJB F0M8Vh/lcXZbiKfxUYZFE589Ktuvd/rr9IM6EqyjYTDwwbcqFl2F9KkDJljaWBBP 2ubCbW49IwNlZ4IAzNuWwqiDNe3JGDiydtOui6Qiui0hk6xYnrsLCmnoC/mQ58Xp Vk6h30HU01aLsXBIvTiXW2n1msxv+0FTIw7NOx+dme5NenxYqwGS2yNhgUnlhSau RR00zFn8PHlUI0AQQ7Hve4wZUxbAQWtyXpUgcE/AYb8/4a2Yok1zAjq12m87biF2 1RTGSX1RHzmt/aNWThcx+wtdk67dUyfUlDp24vlRTt84epxcW4TqsRPp1LdsRma8 Vf1w1zMDoxHr7Ube0+fvLM2Cglsc71SjWsKZYjmwiB9r3bbp+wH6U9jCf38lpDRV Y8/ZaqwVuM1qpSXvtTin5lp5ps1DbMyBDnvS7XHWf/S4cU0J0xfQ01pNbTcddfiy nYSpXwUuoY6YGgsFnKxdEqulO+KLxFfONZjD96tTxxbuAKFyS49NP90fjfUFkqfc Kim1mlpkLzDbdSlNafwT2oTqnOVFsDZpdQP1i3QPQip3LwKcm2oQ96wFuuxGL70m CzLYfMQ96W/7rwcmpX08RgYmE1wZAOPBMOnd2ZNcer41WLi5emg= =1cA1 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--