mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Cast pg_stat_progress_cluster.cluster_index_relid to oid
It's tracked internally as bigint, but when presented to the user it should be oid.
This commit is contained in:
@ -933,7 +933,7 @@ CREATE VIEW pg_stat_progress_cluster AS
|
||||
WHEN 6 THEN 'rebuilding index'
|
||||
WHEN 7 THEN 'performing final cleanup'
|
||||
END AS phase,
|
||||
S.param3 AS cluster_index_relid,
|
||||
CAST(S.param3 AS oid) AS cluster_index_relid,
|
||||
S.param4 AS heap_tuples_scanned,
|
||||
S.param5 AS heap_tuples_written,
|
||||
S.param6 AS heap_blks_total,
|
||||
|
@ -53,6 +53,6 @@
|
||||
*/
|
||||
|
||||
/* yyyymmddN */
|
||||
#define CATALOG_VERSION_NO 201904051
|
||||
#define CATALOG_VERSION_NO 201904071
|
||||
|
||||
#endif
|
||||
|
@ -1855,7 +1855,7 @@ pg_stat_progress_cluster| SELECT s.pid,
|
||||
WHEN 7 THEN 'performing final cleanup'::text
|
||||
ELSE NULL::text
|
||||
END AS phase,
|
||||
s.param3 AS cluster_index_relid,
|
||||
(s.param3)::oid AS cluster_index_relid,
|
||||
s.param4 AS heap_tuples_scanned,
|
||||
s.param5 AS heap_tuples_written,
|
||||
s.param6 AS heap_blks_total,
|
||||
|
Reference in New Issue
Block a user