pgoutput: comment atop rel_sync_cache_publication_cb() has an inconsistency - Mailing list pgsql-hackers

From Hayato Kuroda (Fujitsu)
Subject pgoutput: comment atop rel_sync_cache_publication_cb() has an inconsistency
Date
Msg-id OSCPR01MB1496623BE1125B44614494E7AF5A72@OSCPR01MB14966.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: pgoutput: comment atop rel_sync_cache_publication_cb() has an inconsistency
List pgsql-hackers
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


Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: query_id: jumble names of temp tables for better pg_stat_statement UX
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: Improve error reporting for few options in pg_createsubscriber