Skip to content

Commit 9526428

Browse files
committed
Replace AssertState() with Assert().
AssertArg and AssertState were removed in PostgreSQL by commit #b1099eca8f.
1 parent 0138dc7 commit 9526428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: collector.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ pgws_collector_main(Datum main_arg)
470470
send_profile(profile_hash, mqh);
471471
break;
472472
default:
473-
AssertState(false);
473+
Assert(false);
474474
}
475475
break;
476476
case SHM_MQ_DETACHED:
@@ -480,7 +480,7 @@ pgws_collector_main(Datum main_arg)
480480
"detached")));
481481
break;
482482
default:
483-
AssertState(false);
483+
Assert(false);
484484
}
485485
shm_mq_detach_compat(mqh, pgws_collector_mq);
486486
}

0 commit comments

Comments
 (0)