public inbox for [email protected]  
help / color / mirror / Atom feed
How to find whether a cursor can scroll with libpq
3+ messages / 2 participants
[nested] [flat]

* How to find whether a cursor can scroll with libpq
@ 2021-03-09 13:40  Luiz Fernandes <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Luiz Fernandes @ 2021-03-09 13:40 UTC (permalink / raw)
  To: pgsql-interfaces

Hi,

Is it possible to find with libpq whether a cursor can scroll or not, 
given the connection and the name of the cursor?

Thanks,
Luiz Fernandes






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to find whether a cursor can scroll with libpq
@ 2021-03-09 14:49  Dmitry Igrishin <[email protected]>
  parent: Luiz Fernandes <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Dmitry Igrishin @ 2021-03-09 14:49 UTC (permalink / raw)
  To: Luiz Fernandes <[email protected]>; +Cc: pgsql-interfaces

вт, 9 мар. 2021 г. в 16:44, Luiz Fernandes <[email protected]>:
>
> 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
>
>
>





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to find whether a cursor can scroll with libpq
@ 2021-03-09 16:49  Luiz Fernandes <[email protected]>
  parent: Dmitry Igrishin <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Luiz Fernandes @ 2021-03-09 16:49 UTC (permalink / raw)
  To: Dmitry Igrishin <[email protected]>; +Cc: pgsql-interfaces

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 <[email protected]>:
>> 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
>>
>>
>>






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-03-09 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 13:40 How to find whether a cursor can scroll with libpq Luiz Fernandes <[email protected]>
2021-03-09 14:49 ` Dmitry Igrishin <[email protected]>
2021-03-09 16:49   ` Luiz Fernandes <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox