Help Center > > Developer Guide> System Catalogs and System Views> System Views> PG_CURSORS

PG_CURSORS

Updated at: Jul 15, 2020 GMT+08:00

PG_CURSORS displays the cursors that are currently available.

Table 1 PG_CURSORS columns

Name

Type

Description

name

text

Cursor name

statement

text

Query statement when the cursor is declared to change

is_holdable

Boolean

Whether the cursor is holdable (that is, it can be accessed after the transaction that declared the cursor has committed). If it is, its value is true.

is_binary

Boolean

Whether the cursor was declared BINARY. If it was, its value is true.

is_scrollable

Boolean

Whether the cursor is scrollable (that is, it allows rows to be retrieved in a nonsequential manner). If it is, its value is true.

creation_time

timestamp with time zone

Timestamp at which the cursor is declared

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel