Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching
Date
Msg-id CAB=Je-GSx6U05GAVaiU4tQsP01CyWVAGJOZmo=tm+zykcAGcJQ@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching  (Michael Glaesemann <grzm@seespotcode.net>)
Re: TypeInfoCache.getPGType(pgTypeName) drops schema name when caching  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-jdbc
Michael>The caching to the cars.colors type name is different depending on whether getPGType(pgTypeName) and getPGType(oid) is doing the caching. getPGType(pgTypeName) doesn't include the schema name 

This does sound odd on the first sight.
You might try to file a PR to see if the change would fail some existing tests.

We might want to use some common approach for _pgNameToOid.

Vladimir

pgsql-jdbc by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching
Next
From: Michael Glaesemann
Date:
Subject: Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching