Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Dec 17, 2024
1 parent 884b554 commit 95263f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gp_activetable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ pull_active_table_oid_from_seg(StringInfoData *active_oids)
/* push the active table oid into oid_map */
for (int row = 0; row < PQntuples(pgresult); row++)
{
Oid oid = atooid(PQgetvalue(pgresult, row, PQfnumber(pgresult, "TABLE_OID")));
Oid oid = atooid(PQgetvalue(pgresult, row, PQfnumber(pgresult, "\"TABLE_OID\"")));
(void)hash_search(oid_map, &oid, HASH_ENTER, NULL);
}
}
Expand Down Expand Up @@ -1072,8 +1072,8 @@ pull_active_table_size_from_seg(const char *active_oids)
for (int row = 0; row < PQntuples(pgresult); row++)
{
bool found;
Oid oid = atooid(PQgetvalue(pgresult, row, PQfnumber(pgresult, "TABLE_OID")));
int64 size = atoll(PQgetvalue(pgresult, row, PQfnumber(pgresult, "TABLE_SIZE")));
Oid oid = atooid(PQgetvalue(pgresult, row, PQfnumber(pgresult, "\"TABLE_OID\"")));
int64 size = atoll(PQgetvalue(pgresult, row, PQfnumber(pgresult, "\"TABLE_SIZE\"")));

update_active_table_size(oid, size, segid);
oid_size = hash_search(map, &oid, HASH_ENTER, &found);
Expand Down

0 comments on commit 95263f1

Please sign in to comment.