pgoutput: comment atop rel_sync_cache_publication_cb() has an inconsistency
Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: "'pgsql-hackers@lists.postgresql.org'" <pgsql-hackers@lists.postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Date: 2025-03-25T03:01:52Z
Lists: pgsql-hackers
Attachments
- 0001-pgoutput-Update-code-comment.patch (application/octet-stream) patch 0001
Dear hackers, While reading the code, I found $SUBJECT. It says: ``` /* * Publication relation/schema map syscache invalidation callback * * Called for invalidations on pg_publication and pg_namespace. */ static void rel_sync_cache_publication_cb(Datum arg, int cacheid, uint32 hashvalue) ``` But this won't be called for invalidating pg_publication. It should have been updated by 3abe9dc1, but it was an oversight. Best regards, Hayato Kuroda FUJITSU LIMITED
Commits
-
Fix an oversight in 3abe9dc188.
- b87ced747df7 18.0 landed