{"Entry":{"collection":"metric","key":"pg_stat_progress_copy-datid","name":"pg_stat_progress_copy.datid","aliases":["datid","pg_stat_progress_copy"],"metadata":{"aliases":["datid","pg_stat_progress_copy"],"category":"pg_stat_progress_copy","content_hash":"27d786806a66995c25d1de35dab12ead3e11a907930f43fe6b9cc7c9d8ab772f","imported_at":"2026-09-30T00:40:45.846409+08:00","name":"pg_stat_progress_copy.datid","name_zh":"","slug":"pg_stat_progress_copy-datid","summary":"OID of the database to which this backend is connected."}},"Definition":{"Collection":"metric","Key":"pg_stat_progress_copy-datid","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_progress_copy-datid","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"datid","sql_type":"oid","units_mentioned":[],"view":"pg_stat_progress_copy"},"comparison_hash":"1ef8eb2dd60d44e86f75abba2bbcf125a77151dfca9346518ee4ad4bed91e518","description":["OID of the database to which this backend is connected."],"documented":true,"facts":[{"label":"View","value":"pg_stat_progress_copy"},{"label":"Field","value":"datid"},{"label":"SQL type","value":"oid"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"datid","manual_html":"","manual_path":"/docs/18/progress-reporting.html","related":[{"label":"pg_stat_progress_copy columns","url":"/wiki/catalog/pg_stat_progress_copy/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["Whenever COPY is running, the pg_stat_progress_copy view will contain one row for each backend that is currently running a COPY command. The table below describes the information that will be reported and provides information about how to interpret it."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT datid FROM pg_catalog.pg_stat_progress_copy;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT datid FROM pg_catalog.pg_stat_progress_copy;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"progress-reporting.html","sha256":"a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6","url":"/docs/18/progress-reporting.html#PG-STAT-PROGRESS-COPY-VIEW"}],"sql_type":"oid","tables":[],"units_mentioned":[],"view":"pg_stat_progress_copy"},"ManualEvidence":{"manual_path":"/docs/18/progress-reporting.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"progress-reporting.html","sha256":"a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6","url":"/docs/18/progress-reporting.html#PG-STAT-PROGRESS-COPY-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_progress_copy-datid","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_progress_copy.datid","Summary":"OID of the database to which this backend is connected.","BodyHTML":"\u003cp\u003eOID of the database to which this backend is connected.\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"1309031cc5591f41cbc216500b84e7387bd117fe011d62e3d0b254ac6c71a1a7","Payload":{"description":["OID of the database to which this backend is connected."],"manual_html":"","related":[{"label":"pg_stat_progress_copy columns","url":"/wiki/catalog/pg_stat_progress_copy/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["Whenever COPY is running, the pg_stat_progress_copy view will contain one row for each backend that is currently running a COPY command. The table below describes the information that will be reported and provides information about how to interpret it."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT datid FROM pg_catalog.pg_stat_progress_copy;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
