pg_stat_activity.query
Text of this backend's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query that was executed. By default the query text is truncated at 1024 bytes; this value can be changed via the parameter track_activity_query_size.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- View
- pg_stat_activity
- Field
- query
- SQL type
- text
- Units named in the field definition
- bytes
- Reset observation
- No stats_reset field is documented for this view
- documented
- true
- field
- query
- manual path
- /docs/18/monitoring-stats.html
- signature
- SELECT query FROM pg_catalog.pg_stat_activity;
- source only
- false
- sql type
- text
- units mentioned
- bytes
- view
- pg_stat_activity
版本定义 PG 18
Text of this backend's most recent query. If state is active this field shows the currently executing query. In all other states, it shows the last query that was executed. By default the query text is truncated at 1024 bytes; this value can be changed via the parameter track_activity_query_size.
比较版本
来源引用
定义来源
center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f
正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f