Skip to content

Commit 592efd0

Browse files
committed
fix assert in get_pathman_relation_info()
1 parent 4bbab4c commit 592efd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/relation_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ get_pathman_relation_info(Oid relid)
303303
(prel ? "live" : "NULL"), relid, MyProcPid);
304304

305305
/* Make sure that 'prel' is valid */
306-
Assert(PrelIsValid(prel));
306+
Assert(!prel || PrelIsValid(prel));
307307

308308
return prel;
309309
}

0 commit comments

Comments
 (0)