Skip to content

Commit 28e68ff

Browse files
authored
Render uuids as text in db browser (#2113)
1 parent 38fe23b commit 28e68ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/daemon/dash/dbbrowser.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,5 +183,10 @@ func (s *handler) browserConn(ctx context.Context, appID string, dbID string) (*
183183
OID: 18,
184184
Codec: pgtype.TextCodec{},
185185
})
186+
conn.TypeMap().RegisterType(&pgtype.Type{
187+
Name: "uuid",
188+
OID: 2950,
189+
Codec: pgtype.TextCodec{},
190+
})
186191
return conn, nil
187192
}

0 commit comments

Comments
 (0)