Closed xROAL closed 11 months ago
Can you actually reproduce it with the sample program? I don't have a Windows box around so I can't test there. I couldn't reproduce on OS X.
Thank you for checking this.
After further testing, this seems to be an issue with a specific host only, as I started seeing this behavior with other drivers as well, but I can not reproduce it at all when using a different host.
Closing as this is not an issue in pq
itself.
Unfortunately I am unable to pinpoint the issue or why it happens.
Sometimes, the connection fails with error
pq: User "_float_digits" not found
, where instead of user_float_digits
, occasionaly you'll also seetyle
,ase
, ort_encoding
.Running the program mutliple times, it sometimes connects and sometimes not, the issue is sporadic.
Sample code:
Even when the connection fails,
pq.ParseUrl
is still able to parse the connection string correctly, meaning the error has to be elsewhere.Go 1.21
Running on Windows 11 (22621)
I'm not using
pq
directly, but am using tools that rely on it, and this is really not fun to have happening. Has anyone seen/faced this as well?