pgweb icon indicating copy to clipboard operation
pgweb copied to clipboard

Error: pq: Unsupported startup parameter: extra_float_digits

Open mustpax opened this issue 5 years ago • 1 comments

Hi,

I'm trying to connect to a postgres db that's behind PGBounce. It appears that the extra_float_digits is incompatible PGBounce https://github.com/Athou/commafeed/issues/559 . Unfortunately, I don't have control over the configs for instance PGBounce so I cannot use the ignore_startup_parameters fix.

Is it possible for me to use pgweb to connect to this database?

Error message:

$ pgweb --readonly --url "postgresql://[redacted]?sslmode=disable"
Pgweb v0.11.6 (git: 3e4e9c30c947ce1384c49e4257c9a3cc9dc97876) (go: go1.13.7)
Connecting to server...
Error: pq: Unsupported startup parameter: extra_float_digits

See also: https://github.com/lib/pq/issues/475

mustpax avatar Aug 21 '20 16:08 mustpax

Sorry i'm just looking over this issue - do you have any repro steps i can use locally?

sosedoff avatar Sep 25 '21 16:09 sosedoff

Looks like we'll have to wait till this gets fixed in lib/pg.

sosedoff avatar Dec 06 '22 03:12 sosedoff