We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe42b7 commit 9566cf6Copy full SHA for 9566cf6
src/backend/access/heap/ptrack.c
@@ -276,15 +276,16 @@ ptrack_get_and_clear(Oid tablespace_oid, Oid table_oid)
276
{
277
bytea *result = NULL;
278
BlockNumber nblock;
279
+ Relation rel;
280
+
281
if (table_oid == InvalidOid)
282
283
elog(WARNING, "InvalidOid");
284
goto full_end;
285
}
286
- Relation rel = RelationIdGetRelation(RelidByRelfilenode(tablespace_oid,
287
+ rel = RelationIdGetRelation(RelidByRelfilenode(tablespace_oid,
288
table_oid));
-
289
if (rel == InvalidRelation)
290
291
elog(WARNING, "InvalidRelation");
0 commit comments