this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

quote column names to avoid postgres errors (#206)

authored by

Whyrusleeping and committed by
GitHub
1495fe3c 279ef73a

+1 -1
+1 -1
carstore/bs.go
··· 673 673 placeholders := strings.Repeat("(?, ?, ?),", len(data)) 674 674 placeholders = placeholders[:len(placeholders)-1] // trim trailing comma 675 675 676 - query := "INSERT INTO block_refs (cid, offset, shard) VALUES " + placeholders 676 + query := "INSERT INTO block_refs (\"cid\", \"offset\", \"shard\") VALUES " + placeholders 677 677 678 678 values := make([]any, 0, 3*len(data)) 679 679 for _, entry := range data {