You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValidateConnect failed: ERROR: extended query protocol not supported in a replication connection (SQLSTATE 08P01)
Version
Go: go version go1.22.7 linux/amd64
PostgreSQL: 16
pgx: github.com/jackc/pgx/v5 v5.7.1
Additional context
Seems that ExecParams in ValidateConnectTargetSessionAttrs* functions is redundant and could be replaced with Exec function, while it triggers extended query protocol usage
Describe the bug
target_session_attrs cannot be used with replication connection
To Reproduce
Expected behavior
Primary server was found and connection succeeded
Actual behavior
Version
go version go1.22.7 linux/amd64
github.com/jackc/pgx/v5 v5.7.1
Additional context
Seems that
ExecParams
inValidateConnectTargetSessionAttrs*
functions is redundant and could be replaced withExec
function, while it triggers extended query protocol usagepgx/pgconn/config.go
Line 864 in b9e2b20
The text was updated successfully, but these errors were encountered: