You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SFTPGO_DATA_PROVIDER__CONNECTION_STRING="postgresql://sftpgo:sftpgo@mydbserver/sftpgo?sslmode=require&default_query_exec_mode=simple_protocol"
{"level":"error","time":"2024-01-12T16:01:17.447","sender":"service","message":"error initializing data provider: unable to encode 1 into text format for unknown type (OID 0): cannot find encode plan"}
Steps to reproduce
setup posthres with pgboucer
setup sftpgo to use pgbouncer
kill sftpgo
Expected behavior
should work with pgbouncer by default or by setting some parameters in connection string
SFTPGo version
drakkan/sftpgo:v2.5.6-alpine
Data provider
name=sftpgo ; driver=postgresql
Installation method
Community Docker image
Configuration
config
Relevant log output
No response
What are you using SFTPGo for?
Medium business
Additional info
No response
The text was updated successfully, but these errors were encountered:
This is probably a problem in the pgx library. Please write and share a standalone reproducer using pgx in database/sql mode and confirm that it works instead. Thank you
I used hashicorp vault with pgx with simple protocol and was ok. Which pgx version should I try? Any specific recommendation what reproducer should contain? Or should I just connect, do some insert and select?
Bug description
running sftpgo with postgresql and pgbouncer:
When sftpgo is killed, prepared statement seems not be cleaned and error is triggered:
when changing to:
Steps to reproduce
Expected behavior
should work with pgbouncer by default or by setting some parameters in connection string
SFTPGo version
drakkan/sftpgo:v2.5.6-alpine
Data provider
name=sftpgo ; driver=postgresql
Installation method
Community Docker image
Configuration
config
Relevant log output
No response
What are you using SFTPGo for?
Medium business
Additional info
No response
The text was updated successfully, but these errors were encountered: