Doesn't seem like this change is compatible with lib/pq.
FWIW, this is the repo that corresponds with pgx v4. gx v5, pgtype is part of the pgx repo. Unless you are specifically targeting the old version, you probably want to use that. And in pgx v5, pgtype no longer tries to be compatible with lib/pq.
Yeah, I know it's old repo. It's fine to me. I'll try to move this changes to pg/v5, depending on what needs to be fixed. Thanks for fast feedback. Also, is it time for new release of pg/v4?
Doesn't seem like this change is compatible with lib/pq.
FWIW, this is the repo that corresponds with pgx v4. gx v5, pgtype is part of the pgx repo. Unless you are specifically targeting the old version, you probably want to use that. And in pgx v5, pgtype no longer tries to be compatible with lib/pq.