Skip to content

Commit

Permalink
Remove uses of AssertVariableIsOfType() obsoleted by f2b73c8
Browse files Browse the repository at this point in the history
Author: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/20230208172705.GA451849@nathanxps13
  • Loading branch information
anarazel committed Feb 9, 2023
1 parent 28e626b commit 30b789e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions contrib/basic_archive/basic_archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ _PG_init(void)
void
_PG_archive_module_init(ArchiveModuleCallbacks *cb)
{
AssertVariableIsOfType(&_PG_archive_module_init, ArchiveModuleInit);

cb->check_configured_cb = basic_archive_configured;
cb->archive_file_cb = basic_archive_file;
}
Expand Down
2 changes: 0 additions & 2 deletions contrib/test_decoding/test_decoding.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ _PG_init(void)
void
_PG_output_plugin_init(OutputPluginCallbacks *cb)
{
AssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit);

cb->startup_cb = pg_decode_startup;
cb->begin_cb = pg_decode_begin_txn;
cb->change_cb = pg_decode_change;
Expand Down
2 changes: 0 additions & 2 deletions src/backend/postmaster/shell_archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ static void shell_archive_shutdown(void);
void
shell_archive_init(ArchiveModuleCallbacks *cb)
{
AssertVariableIsOfType(&shell_archive_init, ArchiveModuleInit);

cb->check_configured_cb = shell_archive_configured;
cb->archive_file_cb = shell_archive_file;
cb->shutdown_cb = shell_archive_shutdown;
Expand Down
2 changes: 0 additions & 2 deletions src/backend/replication/pgoutput/pgoutput.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ static void pgoutput_column_list_init(PGOutputData *data,
void
_PG_output_plugin_init(OutputPluginCallbacks *cb)
{
AssertVariableIsOfType(&_PG_output_plugin_init, LogicalOutputPluginInit);

cb->startup_cb = pgoutput_startup;
cb->begin_cb = pgoutput_begin_txn;
cb->change_cb = pgoutput_change;
Expand Down

0 comments on commit 30b789e

Please sign in to comment.