Content-Length: 282455 | pFad | http://github.com/postgrespro/postgres/commit/c868cbfef70a22bc02093cfd5e21d5ffd3ca5dd0

83 Fix typos in pgoutput.c · postgrespro/postgres@c868cbf · GitHub
Skip to content

Commit c868cbf

Browse files
committed
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 665d1fa. Discussion: https://postgr.es/m/ZQk1Ca_eFDTmBiZy@paquier.xyz
1 parent cb94305 commit c868cbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/replication/pgoutput/pgoutput.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,8 +2262,8 @@ rel_sync_cache_relation_cb(Datum arg, Oid relid)
22622262

22632263
/*
22642264
* We can get here if the plugin was used in SQL interface as the
2265-
* RelSchemaSyncCache is destroyed when the decoding finishes, but there
2266-
* is no way to unregister the relcache invalidation callback.
2265+
* RelationSyncCache is destroyed when the decoding finishes, but there is
2266+
* no way to unregister the relcache invalidation callback.
22672267
*/
22682268
if (RelationSyncCache == NULL)
22692269
return;
@@ -2314,8 +2314,8 @@ rel_sync_cache_publication_cb(Datum arg, int cacheid, uint32 hashvalue)
23142314

23152315
/*
23162316
* We can get here if the plugin was used in SQL interface as the
2317-
* RelSchemaSyncCache is destroyed when the decoding finishes, but there
2318-
* is no way to unregister the invalidation callbacks.
2317+
* RelationSyncCache is destroyed when the decoding finishes, but there is
2318+
* no way to unregister the invalidation callbacks.
23192319
*/
23202320
if (RelationSyncCache == NULL)
23212321
return;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c868cbfef70a22bc02093cfd5e21d5ffd3ca5dd0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy