Skip to content

Commit eda4d8a

Browse files
committed
VS2010 support for ptrack
1 parent f4e9a02 commit eda4d8a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/access/heap/ptrack.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,15 @@ ptrack_get_and_clear(Oid tablespace_oid, Oid table_oid)
277277
{
278278
bytea *result = NULL;
279279
BlockNumber nblock;
280+
Relation rel;
281+
280282
if (table_oid == InvalidOid)
281283
{
282284
elog(WARNING, "InvalidOid");
283285
goto full_end;
284286
}
285-
Relation rel = RelationIdGetRelation(RelidByRelfilenode(tablespace_oid,
286-
table_oid));
287+
288+
rel = RelationIdGetRelation(RelidByRelfilenode(tablespace_oid, table_oid));
287289

288290
if (rel == InvalidRelation)
289291
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy