This avoids an unused variable warning on Windows when building without
asserts
From: David Rowley
while (HeapTupleIsValid(ntp = systable_getnext(scandesc)))
{
- bool isnull PG_USED_FOR_ASSERTS_ONLY;
-
if (found)
elog(ERROR,
"unexpected duplicate for tablespace %u, relfilenode %u",
#ifdef USE_ASSERT_CHECKING
if (assert_enabled)
{
+ bool isnull;
Oid check;
check = fastgetattr(ntp, Anum_pg_class_reltablespace,
RelationGetDescr(relation),