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 e214c23 commit 4b4dac1Copy full SHA for 4b4dac1
1 file changed
stdlib/sql.go
@@ -676,6 +676,8 @@ func (r *Rows) ColumnTypeLength(index int) (int64, bool) {
676
return math.MaxInt64, true
677
case pgtype.VarcharOID, pgtype.BPCharArrayOID:
678
return int64(fd.TypeModifier - varHeaderSize), true
679
+ case pgtype.VarbitOID:
680
+ return int64(fd.TypeModifier), true
681
default:
682
return 0, false
683
}
0 commit comments