pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to

pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to

pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to

pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to

pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to

pgsql: Don't repeatedly register cache callbacks in pgoutput plugin.

2023-02-23 Thread Tom Lane
Don't repeatedly register cache callbacks in pgoutput plugin. Multiple cycles of starting up and shutting down the plugin within a single session would eventually lead to "out of relcache_callback_list slots", because pgoutput_startup blindly re-registered its cache callbacks each time. Fix it to