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.
2 parents 33f70b1 + f021009 commit 22ed47bCopy full SHA for 22ed47b
table/src/main/java/tech/ydb/table/values/proto/ProtoType.java
@@ -346,9 +346,9 @@ public static ValueProtos.Type getNull() {
346
public static ValueProtos.Type getPgType(int oid, int typlen, int typmod) {
347
return ValueProtos.Type.newBuilder()
348
.setPgType(ValueProtos.PgType.newBuilder()
349
- .setOid(typlen)
+ .setOid(oid)
350
.setTyplen(typlen)
351
- .setTypmod(typlen)
+ .setTypmod(typmod)
352
.build()
353
).build();
354
}
0 commit comments