Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJkVa-0005jp-Ld for pgsql-interfaces@arkaria.postgresql.org; Tue, 09 Mar 2021 22:07:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJkVZ-00082C-Go for pgsql-interfaces@arkaria.postgresql.org; Tue, 09 Mar 2021 22:07:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJfYT-0001KQ-Gw for pgsql-interfaces@lists.postgresql.org; Tue, 09 Mar 2021 16:49:58 +0000 Received: from a2-socom4-2.uol.com.br ([200.147.34.46] helo=smtps.uol.com.br) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJfYL-0001xm-L3 for pgsql-interfaces@postgresql.org; Tue, 09 Mar 2021 16:49:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by a2-socom1.uol.com.br (Postfix) with ESMTP id EABA3C000062; Tue, 9 Mar 2021 13:49:45 -0300 (-03) X-UOL-SMTP: SMTPS587 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uol.com.br; s=ubz; t=1615308585; bh=0un64EXFX/bzI+/w7hIxSG4+anLDzAOJHixGQlixBo8=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=Yj/BtGmPPxOpOQfN+CUSVYIaw95SuAEw/7iRv4D7CNoxnR2n5KrwC7GKqUvMnPng4 irFVDAfAR8KWptetoUgQA+dJQyObXyLaMXzFzIgaSThBdt/9jX3nlWiAGk4n1WVV3v 0bjRAlIUFaA+av7W3xkuyBaxuTPLM0DkbyNo8uac= Received: from [192.168.1.70] (unknown [187.72.243.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: lepfer@uol.com.br) by a2-socom1.uol.com.br (Postfix) with ESMTPSA id 09595C000051; Tue, 9 Mar 2021 13:49:44 -0300 (-03) Subject: Re: How to find whether a cursor can scroll with libpq To: Dmitry Igrishin Cc: pgsql-interfaces@postgresql.org References: <10dceebb-cf69-c77e-9808-77f07ef6b447@uol.com.br> From: Luiz Fernandes Message-ID: <19632108-0f39-fbf1-87cf-bc34043b2a7f@uol.com.br> Date: Tue, 9 Mar 2021 13:49:58 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudduiedgleefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecufgfqnfdqrfetkfffpdcuqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepnfhuihiiucfhvghrnhgrnhguvghsuceolhgvphhfvghrsehuohhlrdgtohhmrdgsrheqnecuggftrfgrthhtvghrnhepfeehveduhfdtgeegkeekkeduueehkeehjeetjeehffdvgeejfeffudehvdeljeejnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepudekjedrjedvrddvgeefrdduledunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekjedrjedvrddvgeefrdduledupdhhvghloheplgduledvrdduieekrddurdejtdgnpdhmrghilhhfrhhomhepnfhuihiiucfhvghrnhgrnhguvghsuceolhgvphhfvghrsehuohhlrdgtohhmrdgsrheqpdhrtghpthhtohepphhgshhqlhdqihhnthgvrhhfrggtvghssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegumhhithhighhrsehgmhgrihhlrdgtohhm X-SIG5: 67fdbb5fa5336664c3035f1b38d5f3ec List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks, Dmitry. So, I can try to obtain this info querying this view. Regards, Luiz On 2021-03-09 11:49, Dmitry Igrishin wrote: > вт, 9 мар. 2021 г. в 16:44, Luiz Fernandes : >> Hi, >> >> Is it possible to find with libpq whether a cursor can scroll or not, >> given the connection and the name of the cursor? > No. But there is a system view -- > https://www.postgresql.org/docs/current/view-pg-cursors.html >> Thanks, >> Luiz Fernandes >> >> >>