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 1lJdgW-0006BC-Ss for pgsql-interfaces@arkaria.postgresql.org; Tue, 09 Mar 2021 14:50:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJdgV-0003sT-Qi for pgsql-interfaces@arkaria.postgresql.org; Tue, 09 Mar 2021 14:50:07 +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 1lJdgV-0003sI-LH for pgsql-interfaces@lists.postgresql.org; Tue, 09 Mar 2021 14:50:07 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lJdgT-0000yV-HY for pgsql-interfaces@postgresql.org; Tue, 09 Mar 2021 14:50:06 +0000 Received: by mail-pf1-x430.google.com with SMTP id 18so9610023pfo.6 for ; Tue, 09 Mar 2021 06:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Jd6Q39iBkNCxWQ3usQx3r99VtBrzq6oAnoeVlo+SB64=; b=rHTxGYdYB/lIJt/x6CUrafpSDZqx2ri69nmU2UaQl87vZXazF/bD8YDEx1vuaoZ94q K+tbovOMu9/GmMvdrSZ7OSiWfnaaBYeK+0vGBgT3/PlU1C+I15bA8+DXZ0sw2vUR0vnn 7ZNTzDjK42boCwpvwCvKKur3h9VBOw69vQH47E0sXGqw25r+IuMQBf2ZSmQHWWsuPeRF f0WfuO9KijkIa1oIuEp8hcCiJ6L7y695ELwS/K0keOXg0bwhDHeMOzQUz+qFAOFw/ZYH K8zY5Y2e5E3mywDXf0xx2WyQtZSmeJvrZOw6is2aAWC/UhaoB6Xkd75ygKEez0k9iZgK ac1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Jd6Q39iBkNCxWQ3usQx3r99VtBrzq6oAnoeVlo+SB64=; b=mErFC+/jLSYEEJupb15GTWSsQZc9IoiUWc+NdiZz9hxjzQtSRddtsbS5ppa9dnRuHk v8chGycZlQ9+mMOxYaPmiSfDJYMvqwARiY0+YxGxdJHSW6gyTu4u3pUH3NC96CVTNpn+ q/odjBZ0gvqht0ZV1Cv0W3zBHks0DzT9U5wON3syyLsrP6zu715T/6JLLnmKrwKWNopC KuXrI5dxtjVCAb7CRcXz1BVrrmcmdXAh4wPHxHNgOanhYF0cuflkloZ6focTTlYWUZ1a gmqoZZitjnLM/MP2M7cgcqLMpJiH0kqZmdOKEv/I3CecPNiEGpqIilZOTBMtsNuwahP3 0zrg== X-Gm-Message-State: AOAM533W2HazizSvuHRByZ9q3NI02yqSu89CVxVQmV6QNXghjabhLr7i mXsyjvmz44Y2OiHzdhcXjQ0v4RiAw7ajm6Q2msk= X-Google-Smtp-Source: ABdhPJwkYfVchC13mdZEPXIGURBnfHgmJnuzokzdescxF72RB+eq16m66RFbYa3z8bgDwMVqznpKPe1BtjemeU3kXE0= X-Received: by 2002:a62:f207:0:b029:1f6:11a4:1b81 with SMTP id m7-20020a62f2070000b02901f611a41b81mr10135629pfh.19.1615301404137; Tue, 09 Mar 2021 06:50:04 -0800 (PST) MIME-Version: 1.0 References: <10dceebb-cf69-c77e-9808-77f07ef6b447@uol.com.br> In-Reply-To: <10dceebb-cf69-c77e-9808-77f07ef6b447@uol.com.br> From: Dmitry Igrishin Date: Tue, 9 Mar 2021 17:49:53 +0300 Message-ID: Subject: Re: How to find whether a cursor can scroll with libpq To: Luiz Fernandes Cc: pgsql-interfaces@postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =D0=B2=D1=82, 9 =D0=BC=D0=B0=D1=80. 2021 =D0=B3. =D0=B2 16:44, Luiz Fernand= es : > > 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 > > >