Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akrambek committed Dec 20, 2024
1 parent b2b58fa commit 9bc033b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public final class RisingwaveProxyFactory implements RisingwaveStreamFactory
private static final String SEVERITY_WARNING = "WARNING\u0000";
private static final String CODE_XX000 = "XX000\u0000";

private static final int STRING_TYPE_OID = 1043;
private static final int VARCHAR_TYPE_OID = 1043;

private static final String POSTGRES_USER = "postgres\u0000";
private static final String DEFAULT_USER = "default\u0000";
Expand Down Expand Up @@ -830,7 +830,7 @@ public void doDescription(
.name("%s\u0000".formatted(name))
.tableOid(0)
.index((short) 0)
.typeOid(STRING_TYPE_OID)
.typeOid(VARCHAR_TYPE_OID)
.length((short) name.length())
.modifier(-1)
.format(f -> f.set(PgsqlFormat.TEXT))
Expand Down

0 comments on commit 9bc033b

Please sign in to comment.