Incorrect cursor index when migrating with Postgres
cebrains opened this issue · comments
xun/grammar/postgres/quoter.go
Line 111 in 7931a23
FYI:
SQL:
time="_______" level=debug msg="insert into "xiang_user" ("extra", "email", "password", "key", "name", "type", "status", "created_at", "secret", "mobile") values ($1,$2,$3,$4,$5,$6,$7,CURRENT_TIMESTAMP,$9,$10) returning "id"" bindings="[{"sex":"男"} xiang@iqka.com $2a$04$IUZnaAm8YhmUi2nKbVr28ORks0uIfXoyIfATm1ecUhWXn8bmDdGbe 8304925176 管理员 admin enabled XMTdNRVigbgUiAPdiJCfaWgWcz2PaQXw ]"
Log:
pq: could not determine data type of parameter $8