I got this Error while connecting neon.tech with headscale which use pgx and gorm as postgres library.
Maintainer of pgx replied
When a connection is made to a PostgreSQL server it reports connection settings such as
standard_conforming_strings
. This is how pgx knows whether it is running withstandard_conforming_strings
or not.Given that this works when connecting to normal PostgreSQL directly I don’t think this is a pgx bug. I suspect this is a bug where neon.tech or headscale is not reporting or is not passing through this message.
So is neon report this setting normally? I do checked that standard_conforming_strings
is on
in the database I trying connect to.