jackc / pgx

PostgreSQL driver and toolkit for Go
MIT License
10.86k stars 846 forks source link

Fix bug relating to reuse of types #2077

Closed nicois closed 4 months ago

nicois commented 4 months ago

When LoadTypes is being called, it does not include the namespace-qualified types in its result. While these namespaces are visible to LoadTypes itself, RegisterTypes will not recognise this form of the types, only allowing them to be used if they are on the schema path, and referred to without their namespace component.