configuring schema using search path does not work well in pgbouncer in transaction mode
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
No repository files, tests, or implementation entry points are named. Start by investigating how River configures PostgreSQL search_path through pgx and how transaction pooling in PgBouncer affects that state; done would require a defined, tested way to configure the schema in transaction mode.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
so I can't seem to find a way to use poll only mode with a custom search path behind pgbouncer/similar in transaction pooling mode.
the recommendation I have read is to use pgx "search_path" in order to configure the schema that the river clients will use.
but behind pgbouncer, search path is not supported, for technical reasons.
https://github.com/pgbouncer/pgbouncer/issues/89
we use an in-house rewrite of pgbouncer and so we made search path work correctly for session connections, which seems to be working, but tracking search path in transaction mode is a bigger lift so we haven't tried (as the search path isn't in parameters, you would need to do an extra query before giving the conn the session for the transaction to set the search path)
for now we are just going to run everything in session mode.
- Lingua principale
- Go
- Stelle
- 5.7k
- Fork
- 179
- Merge medio
- 2g 19h
- PR unite (30g)
- 12
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di riverqueue/river
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
riverqueue/river#1358 · 1 commento ·
-
River job stuck at running Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
riverqueue/river#1258 · 7 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
riverqueue/river#1225 · 14 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
riverqueue/river#1185 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
riverqueue/river#1183 · 2 reazioni ·
Tutte le issue di riverqueue/river
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
crossplane/crossplane#7859 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bazel-contrib/rules_go#4721 · 2 commenti ·
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
bug carvel-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
carvel-dev/kapp-controller#1861 ·
-
area/logging kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100