mirror of https://github.com/postgres/postgres
Remove uses of AssertVariableIsOfType() obsoleted by f2b73c8
Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://postgr.es/m/20230208172705.GA451849@nathanxps13
This commit is contained in:
parent
28e626bde0
commit
30b789eafe
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue