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

From Michael Glaesemann
Subject Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching
Date
Msg-id 3B76CB0B-C216-44D9-A54E-DF6E518BAEC3@seespotcode.net
Whole thread Raw
In response to Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc
> On 2017-07-16, at 11:21, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>
> 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.

Will do. Thanks!

>
> There was a recent change
https://github.com/pgjdbc/pgjdbc/commit/cddcd185cc71267e8eb177c6ba1dab3f029da089#diff-9cedabddb25727db7a1346738c8b7b5dR522
thatdid touch _pgNameToOid. 
> We might want to use some common approach for _pgNameToOid.
>
> Vladimir

Michael Glaesemann
grzm seespotcode net





pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: [JDBC] TypeInfoCache.getPGType(pgTypeName) drops schema name when caching
Next
From: AlexElin
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 5b65e2: test: migrate tests to JUnit 4