Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2023-02-23 20:40:27 +0000
committerTom Lane2023-02-23 20:40:42 +0000
commit05172f1f37496acc13769b8cc0af6e77591be90f (patch)
tree1f52ee3568e67b8a466adf910db37644895c0f56 /contrib/postgres_fdw
parent0da243fed0875932f781aff08df782b56af58d02 (diff)
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 register them only once, as all other users of cache callbacks already take care to do. This has been broken all along, so back-patch to all supported branches. Shi Yu Discussion: https://postgr.es/m/OSZPR01MB631004A78D743D68921FFAD3FDA79@OSZPR01MB6310.jpnprd01.prod.outlook.com
Diffstat (limited to 'contrib/postgres_fdw')
0 files changed, 0 insertions, 0 deletions