We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0095a56 commit 9d39c9aCopy full SHA for 9d39c9a
store/postgres/src/relational_queries.rs
@@ -2326,7 +2326,11 @@ impl<'a> InsertQuery<'a> {
2326
/// query, and depends on what columns `table` has and how they get put
2327
/// into the query
2328
pub fn chunk_size(table: &Table) -> usize {
2329
+ // We always have one column for the block number/range
2330
let mut count = 1;
2331
+ if table.has_causality_region {
2332
+ count += 1;
2333
+ }
2334
for column in table.columns.iter() {
2335
// This code depends closely on how `walk_ast` and `QueryValue`
2336
// put values into bind variables
0 commit comments