PostgREST / postgrest

REST API for any Postgres database
https://postgrest.org
MIT License
22.65k stars 1k forks source link

prevent GSSAPI error between Listener and pool #3573

Closed steve-chavez closed 2 weeks ago

steve-chavez commented 2 weeks ago

Brings back the the signaling/waiting between the connection pool and the Listener.

This behavior was on the previous release, but was removed on https://github.com/PostgREST/postgrest/commit/3cf565614d6529b4f691699b254fd3a680dfcda0. See https://github.com/PostgREST/postgrest/issues/3569#issuecomment-2146336484.

Prevents the GSSAPI error shown on https://github.com/PostgREST/postgrest/issues/3569

wolfgangwalther commented 2 weeks ago

Would this also prevent multiple pool connections from starting at the same time when many requests come in or so?

steve-chavez commented 2 weeks ago

No, not at all. It's only makes the listener wait for a functional connection pool.

This was already in before as discussed on https://github.com/PostgREST/postgrest/issues/3569#issuecomment-2146336484