Add function to clear connection cache. Closes #3937

* Add function to clear connection cache. 
* Update FDW to v1.9.0 - Add ability to clear connection cache by inserting into settings table.
* Update plugin sdk to v5.6.1
* fix listen unit tests
This commit is contained in:
kaidaguerre
2023-09-29 19:48:17 +01:00
committed by GitHub
parent e9b0a0a2b8
commit 4fa11a424e
11 changed files with 35 additions and 23 deletions

View File

@@ -745,7 +745,7 @@ func (c *InteractiveClient) handleErrorsAndWarningsNotification(ctx context.Cont
}
func (c *InteractiveClient) handleConnectionUpdateNotification(ctx context.Context) {
// ignore schema update notifications until initialisation is complete
// (we may receive schema update messages from the initial refresh connecitons, but we do not need to reload
// (we may receive schema update messages from the initial refresh connections, but we do not need to reload
// the schema as we will have already loaded the correct schema)
if !c.initialisationComplete {
log.Printf("[INFO] received schema update notification but ignoring it as we are initializing")