Skip to content

\contrib\drivers\pgsql\v2: pgsql will report an error when inserting the data if it is an array. #3632

@jinmao88

Description

@jinmao88

Go version

go .122

GoFrame version

2.7.1

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

插入的数据 如果字段类型是数组类型,[]int 这种 会报错

What did you see happen?

3475dfcd6901575174cc122f9b304334
0f8d50323088b4f7e8594b5629de41b2
cf6fb9a61f20da9f73291565f07abdf2

pgsql驱动内的函数 入参是NAME 无法触发switch 进行转换

What did you expect to see?

希望能正常写入

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions