From bab840d5da68b38164f07bff674624954ac1f349 Mon Sep 17 00:00:00 2001 From: Georgy Shelkovy Date: Fri, 20 Dec 2024 11:44:22 +0500 Subject: [PATCH] fix --- src/gp_activetable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gp_activetable.c b/src/gp_activetable.c index 2c66cd8a..9a1ca559 100644 --- a/src/gp_activetable.c +++ b/src/gp_activetable.c @@ -970,8 +970,8 @@ load_table_size(StringInfoData *active_oids) { HeapTuple val = SPI_tuptable->vals[row]; Oid oid = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, tableid_num, false)); - int64 size = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, size_num, false)); - int16 segid = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, segid_num, false)); + int64 size = DatumGetInt64(SPI_getbinval_wrapper(val, tupdesc, size_num, false)); + int16 segid = DatumGetInt16(SPI_getbinval_wrapper(val, tupdesc, segid_num, false)); update_active_table_size(oid, size, segid);