+12
−2
Loading
pgxpool.NewWithConfig panics when given a Config not created by ParseConfig (it checks an internal createdByParseConfig flag). Store the DSN and re-parse it in Start() via pgxpool.ParseConfig, then overlay the connection-level settings (query exec mode, tracer) from the eagerly-parsed ConnConfig.