Open gromas opened 1 day ago
https://github.com/jackc/pgx/blob/b9e2b20fb13a7eb8e6bf105c074c291b349b6dec/rows.go#L471
rows.Close() is not required while we have defer rows.Close() above
rows.Close() may change the result of rows.Err() so this is not equivalent, rather with this an error may go unnoticed.
rows.Close()
rows.Err()
https://github.com/jackc/pgx/blob/b9e2b20fb13a7eb8e6bf105c074c291b349b6dec/rows.go#L471
rows.Close() is not required while we have defer rows.Close() above