{"Entry":{"collection":"catalog","key":"pg_cursors","name":"pg_cursors","aliases":[],"metadata":{"changed_in":[],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"8.1","order":false,"removed":[],"status":"added","to":"8.2","types":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"8.2","listing":[],"order":false,"removed":[],"status":"reworded","to":"8.3","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"8.4","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.0","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"9.2","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.3","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"9.3","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.4","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"9.4","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.5","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"9.5","listing":[],"order":false,"removed":[],"status":"reworded","to":"9.6","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"9.6","listing":[],"order":false,"removed":[],"status":"reworded","to":"10","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"10","listing":[],"order":false,"removed":[],"status":"reworded","to":"11","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"11","listing":[],"order":false,"removed":[],"status":"reworded","to":"12","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"13","listing":[],"order":false,"removed":[],"status":"reworded","to":"14","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"14","listing":[],"order":false,"removed":[],"status":"reworded","to":"15","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"16","listing":[],"order":false,"removed":[],"status":"reworded","to":"17","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":true,"descriptions":[],"from":"17","listing":[],"order":false,"removed":[],"status":"reworded","to":"18","types":[],"unlisted":[]}],"column_count":6,"content_hash":"6f781755cf04e6297c09587fda3a32288bf6b1d98baccfb7349873de8ad790c7","first_version":"8.2","imported_at":"2026-09-30T00:40:55.480077+08:00","kind":"view","last_version":"20","name":"pg_cursors","position":19,"present_in":["8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"relation_oid":null,"relkind":"v","shared":false,"source_rev":"english-manuals:bfe38e315a98bdd9c50bccc1f421f7d453c479808f010e03c4c115e0417fde66","summary":"The pg_cursors view lists the cursors that are currently available.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_cursors","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_cursors","SourceRevision":"english-manuals:bfe38e315a98bdd9c50bccc1f421f7d453c479808f010e03c4c115e0417fde66","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"The name of the cursor","description_zh":"","documented":true,"documented_name":"name","hidden":false,"name":"name","not_null":false,"references":"","type":"text","type_modifier":-1,"type_oid":25},{"array_dimensions":0,"attnum":2,"description":"The verbatim query string submitted to declare this cursor","description_zh":"","documented":true,"documented_name":"statement","hidden":false,"name":"statement","not_null":false,"references":"","type":"text","type_modifier":-1,"type_oid":25},{"array_dimensions":0,"attnum":3,"description":"true if the cursor is holdable (that is, it can be accessed after the transaction that declared the cursor has committed); false otherwise","description_zh":"","documented":true,"documented_name":"is_holdable","hidden":false,"name":"is_holdable","not_null":false,"references":"","type":"bool","type_modifier":-1,"type_oid":16},{"array_dimensions":0,"attnum":4,"description":"true if the cursor was declared BINARY; false otherwise","description_zh":"","documented":true,"documented_name":"is_binary","hidden":false,"name":"is_binary","not_null":false,"references":"","type":"bool","type_modifier":-1,"type_oid":16},{"array_dimensions":0,"attnum":5,"description":"true if the cursor is scrollable (that is, it allows rows to be retrieved in a nonsequential manner); false otherwise","description_zh":"","documented":true,"documented_name":"is_scrollable","hidden":false,"name":"is_scrollable","not_null":false,"references":"","type":"bool","type_modifier":-1,"type_oid":16},{"array_dimensions":0,"attnum":6,"description":"The time at which the cursor was declared","description_zh":"","documented":true,"documented_name":"creation_time","hidden":false,"name":"creation_time","not_null":false,"references":"","type":"timestamptz","type_modifier":-1,"type_oid":1184}],"description":"The pg_cursors view lists the cursors that are currently available. Cursors can be defined in several ways:\n\nvia the DECLARE statement in SQL via the Bind message in the frontend/backend protocol, as described in Section 54.2.3 via the Server Programming Interface (SPI), as described in Section 45.1\n\nThe pg_cursors view displays cursors created by any of these means. Cursors only exist for the duration of the transaction that defines them, unless they have been declared WITH HOLD. Therefore non-holdable cursors are only present in the view until the end of their creating transaction.","description_zh":"","doc":{"anchor":"id-1.10.5.11.4","file":"view-pg-cursors.html","lang":"en","sha256":"674294eb83fd0a712ac812ff0220bb2f604d116789f22b600491f0973ed9ca3b","slug":"18"},"kind":"view","lang":"en","measured_attributes":true,"metadata_release":"18.6","runtime_columns":["name","statement","is_holdable","is_binary","is_scrollable","creation_time"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"id-1.10.5.11.4","file":"view-pg-cursors.html","lang":"en","sha256":"674294eb83fd0a712ac812ff0220bb2f604d116789f22b600491f0973ed9ca3b","slug":"18"}},"MeasuredEvidence":{"measured_attributes":true,"metadata_release":"18.6","runtime_columns":["name","statement","is_holdable","is_binary","is_scrollable","creation_time"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_cursors","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_cursors","Summary":"pg_cursors视图列出当前可用的游标。游标可以通过多种方式定义：\n\npg_cursors视图显示通过任何这些方式创建的游标。游标仅在定义它们的事务的持续时间内存在，除非它们已经声明为WITH HOLD。因此，不可保持的游标仅在其创建事务结束之前存在于视图中。","BodyHTML":"\u003cp\u003epg_cursors视图列出当前可用的游标。游标可以通过多种方式定义：\n\npg_cursors视图显示通过任何这些方式创建的游标。游标仅在定义它们的事务的持续时间内存在，除非它们已经声明为WITH HOLD。因此，不可保持的游标仅在其创建事务结束之前存在于视图中。\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"735335340fcb28777e0e2b571cd77c04c072026c001ffc22b79a2866f963bceb","Payload":{"columns":[{"description_zh":"游标名","name":"name","type":"text","zh_from":"doc"},{"description_zh":"用于声明此游标的原始查询字符串","name":"statement","type":"text","zh_from":"doc"},{"description_zh":"如果游标是可保持游标（即，在声明该游标的事务提交后仍可访问）则为true，否则为false","name":"is_holdable","type":"boolean","zh_from":"doc"},{"description_zh":"如果游标被声明为 BINARY，则为 true；否则为 false","name":"is_binary","type":"boolean","zh_from":"doc"},{"description_zh":"如果游标是可滚动的（即，允许以一种非顺序的方式检索行）则为true，否则为false","name":"is_scrollable","type":"boolean","zh_from":"doc"},{"description_zh":"游标被声明的时间","name":"creation_time","type":"timestamp with time zone","zh_from":"doc"}],"description_zh":"pg_cursors视图列出当前可用的游标。游标可以通过多种方式定义：\n\npg_cursors视图显示通过任何这些方式创建的游标。游标仅在定义它们的事务的持续时间内存在，除非它们已经声明为WITH HOLD。因此，不可保持的游标仅在其创建事务结束之前存在于视图中。","zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
