Skip to content

[feat]: use pgconn.exec to execute multiple queries to eliminate roundtrip latency #47

@balajz

Description

@balajz

Currently, when a user provides multiple queries and the configuration onError == resume is enabled, the entire statement block can be executed using conn.PgConn.Exec. The results can then be processed through multipleResultReader, instead of splitting the SQL queries and executing each statement individually. significantly reducing noticeable delay.

ref: jackc/pgx#1512

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions