aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-02-23 15:40:28 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2023-02-23 15:40:28 -0500
commit0f78df719a90e3f992304f63b146b178e676bed2 (patch)
tree9fdc9d2436b6c53254f514b375c142856c807eb8 /src/tutorial/basics.source
parentf0423bea7f0afe6ccd830e2b729180e4355e04f6 (diff)
downloadpostgresql-0f78df719a90e3f992304f63b146b178e676bed2.tar.gz
postgresql-0f78df719a90e3f992304f63b146b178e676bed2.zip
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 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions