Re: "out of relcache_callback_list slots" after multiple calls to pg_logical_slot_get_binary_changes

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Smith <smithpb2250@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, "shiy.fnst@fujitsu.com" <shiy.fnst@fujitsu.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2023-02-23T20:42:46Z
Lists: pgsql-hackers
Peter Smith <smithpb2250@gmail.com> writes:
> Should the 'relation_callback_registered' variable name be plural?

Yeah, plural seems better to me too.  I fixed that and did a little
comment-editing and pushed it.

			regards, tom lane



Commits

  1. Don't repeatedly register cache callbacks in pgoutput plugin.