Closed
Description
Version
v1.16.0
or 3623ec8, version v1.15.0
has the correct behavior, since there is no batch closeness check
What happened?
To check if batch is closed if you need to return a pointer to the type the wrong code is generated
SQL queries
:batchone
Configuration
version: "2"
engine: "postgresql"
sql_package: "pgx/v4"
emit_db_tags: true
emit_result_struct_pointers: true
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go