This commit is contained in:
parent
42dc6f01d6
commit
b50479cf5b
|
@ -206,8 +206,8 @@ func main() {
|
||||||
pq.QuoteIdentifier(*pgTable),
|
pq.QuoteIdentifier(*pgTable),
|
||||||
pq.QuoteIdentifier(*pgPathRow),
|
pq.QuoteIdentifier(*pgPathRow),
|
||||||
pq.QuoteIdentifier(*pgMd5Row),
|
pq.QuoteIdentifier(*pgMd5Row),
|
||||||
pq.QuoteIdentifier(*pgSha256Row),
|
|
||||||
pq.QuoteIdentifier(*pgSizeRow),
|
pq.QuoteIdentifier(*pgSizeRow),
|
||||||
|
pq.QuoteIdentifier(*pgSha256Row),
|
||||||
))
|
))
|
||||||
} else {
|
} else {
|
||||||
pgSettings.UpdateSTMT, err = handle.Prepare(fmt.Sprintf("UPDATE %s SET %s = $2, %s = $3 WHERE %s = $1;",
|
pgSettings.UpdateSTMT, err = handle.Prepare(fmt.Sprintf("UPDATE %s SET %s = $2, %s = $3 WHERE %s = $1;",
|
||||||
|
|
Loading…
Reference in a new issue