Jack Christensen
Jack Christensen
> Do you plan to incorporate this into the pgx itself? I'm open to something like that being merged, but I haven't seen any actual PRs. One thing I would...
That would add a bit of complexity. It would mean some of the queries could be sent and then a failure occurs during `c.eqb.Build()` that prevents the rest of the...
Please try pgx v5.4.2. It resolved some issues with connections not being correctly cleaned up.
I've added `SeverityUnlocalized` in a3d9120636fc263debce595f3ba05bcd9f4ee809. > I think ErrorResponseToPgError should just use SeverityUnlocalized instead of Severity if it is set. I cannot imagine localized field is really something people use....
>> You can also get the PID of the connection with conn.PID(). > That to me looks less useful because I would have to maintain some weak map between PID...
Closing as initial request is completed in a3d9120636fc263debce595f3ba05bcd9f4ee809 and further discussion on custom data is on #1896.
I just implemented this is 6f0deff0156a7ffcd557eac1011ebb5ce73739d3. I kept it a simple map. `pgconn.PgConn` is not concurrency safe so it shouldn't be required of the map it contains.
Seems reasonable. 👍
I think that https://github.com/jackc/pgtype/commit/75446032b914bb0be5e07da29c976034c0a666cf only affects parsing a text formatted timestamptz because the time zone will be part of the string. Binary formatted values do not contain any time zone...
Merged #1948.