aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-09-20 10:02:12 +0900
committerMichael Paquier <michael@paquier.xyz>2023-09-20 10:02:12 +0900
commitc868cbfef70a22bc02093cfd5e21d5ffd3ca5dd0 (patch)
tree3ce079e08eaa39c86562b2b255e914cc6789e914 /src
parentcb943054f3f6d67c858dd63192afaa488f8cb51e (diff)
downloadpostgresql-c868cbfef70a22bc02093cfd5e21d5ffd3ca5dd0.tar.gz
postgresql-c868cbfef70a22bc02093cfd5e21d5ffd3ca5dd0.zip
Fix typos in pgoutput.c
RelationSyncCache was mentioned in two comments under a different name. Issue noticed while reviewing a different patch touching the same area. Introduced by 665d1fad99e7. Discussion: https://postgr.es/m/ZQk1Ca_eFDTmBiZy@paquier.xyz
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/pgoutput/pgoutput.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c
index b08ca550417..3d2becb45cf 100644
--- a/src/backend/replication/pgoutput/pgoutput.c
+++ b/src/backend/replication/pgoutput/pgoutput.c
@@ -2262,8 +2262,8 @@ rel_sync_cache_relation_cb(Datum arg, Oid relid)
/*
* We can get here if the plugin was used in SQL interface as the
- * RelSchemaSyncCache is destroyed when the decoding finishes, but there
- * is no way to unregister the relcache invalidation callback.
+ * RelationSyncCache is destroyed when the decoding finishes, but there is
+ * no way to unregister the relcache invalidation callback.
*/
if (RelationSyncCache == NULL)
return;
@@ -2314,8 +2314,8 @@ rel_sync_cache_publication_cb(Datum arg, int cacheid, uint32 hashvalue)
/*
* We can get here if the plugin was used in SQL interface as the
- * RelSchemaSyncCache is destroyed when the decoding finishes, but there
- * is no way to unregister the invalidation callbacks.
+ * RelationSyncCache is destroyed when the decoding finishes, but there is
+ * no way to unregister the invalidation callbacks.
*/
if (RelationSyncCache == NULL)
return;