@@ -71,9 +71,9 @@ PG_MODULE_MAGIC;
7171#define REPL_SLOT_BASE_NAME "pg_rewrite_slot_"
7272#define REPL_PLUGIN_NAME "pg_rewrite"
7373
74- static void partition_table_impl (Oid dbid , Oid roleid , char * relschema_src ,
75- char * relname_src , char * relname_src_new ,
76- char * relschema_dst , char * relname_dst );
74+ static void partition_table_impl (char * relschema_src , char * relname_src ,
75+ char * relname_src_new , char * relschema_dst ,
76+ char * relname_dst );
7777static int index_cat_info_compare (const void * arg1 , const void * arg2 );
7878
7979/* The WAL segment being decoded. */
@@ -641,7 +641,7 @@ rewrite_worker_main(Datum main_arg)
641641 StartTransactionCommand ();
642642 PG_TRY ();
643643 {
644- partition_table_impl (dbid , roleid , relschema_src , relname_src ,
644+ partition_table_impl (relschema_src , relname_src ,
645645 relname_src_new , relschema_dst , relname_dst );
646646
647647 CommitTransactionCommand ();
@@ -743,9 +743,9 @@ pg_rewrite_exit_if_requested(void)
743743 * here, they will simply make the worker rollback any transaction and exit.
744744 */
745745static void
746- partition_table_impl (Oid dbid , Oid roleid , char * relschema_src ,
747- char * relname_src , char * relname_src_new ,
748- char * relschema_dst , char * relname_dst )
746+ partition_table_impl (char * relschema_src , char * relname_src ,
747+ char * relname_src_new , char * relschema_dst ,
748+ char * relname_dst )
749749{
750750 RangeVar * relrv ;
751751 Relation rel_src ,
0 commit comments