fix: reloading the Schema Cache unnecessarily on a PGRST002 error

When 503 errors happen if the Schema Cache is empty,
it should not retrigger the connection worker since
there's no Schema Cache loaded yet.
This commit is contained in:
Laurence Isla
2025-10-20 18:42:56 +00:00
parent c88ddfe18d
commit ea5db2a09a
3 changed files with 30 additions and 3 deletions
+1
View File
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fix not logging transaction variables and db-pre-request function when `log-query=main-query` is enabled by @steve-chavez in #3934
- Fix loading utf-8 config files with `ASCII` locale set in #4386
- Fix not logging the JSON message to stderr on a `PGRST002` error by @laurenceisla in #4129
- Fix reloading the Schema Cache unnecessarily on a `PGRST002` error by @laurenceisla in #4367
### Added