Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWmy9-0004Qz-EB for pgsql-jdbc@arkaria.postgresql.org; Sun, 16 Jul 2017 17:04:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dWmy9-0004ay-0s for pgsql-jdbc@arkaria.postgresql.org; Sun, 16 Jul 2017 17:04:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dWmy8-0004Xh-7c for pgsql-jdbc@postgresql.org; Sun, 16 Jul 2017 17:04:32 +0000 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dWmy5-0004q7-1e for pgsql-jdbc@postgresql.org; Sun, 16 Jul 2017 17:04:31 +0000 Received: by mail-it0-x22a.google.com with SMTP id v202so11428035itb.1 for ; Sun, 16 Jul 2017 10:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seespotcode-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=B8H9C8r2Rekid9cbbNH9iFMMMsKhZFUDGGc9UbxvarM=; b=VTO9FR4h4wkoz+cfYFaoqdp74OROGAx7ggRnh9tIiejWZnnuBmJTWvhfJzMJY+AdU+ ZZ0D07WM7D3EE1QkvueOywKWtgbLv12CypytzFC2SYf8rwIbh0WRdnv6fUnOwMQfBy4T MWeMzhs04OZHJWUX/ODDunTpvksSYfKP6P5UXr52QdO2jevUARm6n36F1Y8Byqk+pKHW lyf2OlWbwz31KSOfKIcXJceKRzrvGw0AHpR6rjYeb5T7AblTRP6I0CIp1zfPx7OndamS E4O0EZYsbAVXjzqZ4US+0aBjPCMoxTGtOgcmFCP1n6VDmqhxq+/Zd+sEqGgJSgqHVZpR aSkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=B8H9C8r2Rekid9cbbNH9iFMMMsKhZFUDGGc9UbxvarM=; b=UJulqloErsK5ZzbJCm/LsKOU8yradYatbwR5ivHR/tdauEiUmCa0EyGZgUgBTrdtah LQDq1HLFkKV8V4etzP5140tC9Ab6yTG0vNU+pYl8SFuLWM0xewT6FGqEdu8Dg8nXS3X+ SPj+XSZ8uG/GU+bZMquWeLiXoBhBgMMiupRFUCdwPWsG9O4ttLNpS0jS6UxuBYCl4CdZ R6XcXD3wIo1JzYm2r7sIT3E29hySnj9PZCGJmYAALI7eCXXtiM3YxIqMHl8dacQ4NknS zEQUAUfBSaGPVvRQSvjSfgN7vBA0D5qG8F/L3BDNE6XtBRTvV389z0nY5KJ9XSTCTAB+ CBmA== X-Gm-Message-State: AIVw1133DgSKlwndBnNd+9XhJKKwTUOgi7g63kBUa04gyQZaYjJWzhRG Ht0ne2bqx9r32t2r X-Received: by 10.36.172.77 with SMTP id m13mr2254926iti.59.1500224667547; Sun, 16 Jul 2017 10:04:27 -0700 (PDT) Received: from [192.168.1.7] (104-159-191-168.dhcp.krny.ne.charter.com. [104.159.191.168]) by smtp.gmail.com with ESMTPSA id a197sm4311941itc.5.2017.07.16.10.04.26 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Jul 2017 10:04:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: TypeInfoCache.getPGType(pgTypeName) drops schema name when caching From: Michael Glaesemann In-Reply-To: Date: Sun, 16 Jul 2017 12:04:27 -0500 Cc: List Content-Transfer-Encoding: quoted-printable Message-Id: <3B76CB0B-C216-44D9-A54E-DF6E518BAEC3@seespotcode.net> References: <72F45272-226E-47FC-940F-F5E5FF446222@seespotcode.net> <7748FA42-7355-4B56-B9B7-F19ABE096A9A@seespotcode.net> To: Vladimir Sitnikov X-Mailer: Apple Mail (2.2104) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org > On 2017-07-16, at 11:21, Vladimir Sitnikov = wrote: >=20 > Michael>The caching to the cars.colors type name is different depending o= n whether getPGType(pgTypeName) and getPGType(oid) is doing the caching. ge= tPGType(pgTypeName) doesn't include the schema name=20 >=20 > 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! >=20 > There was a recent change https://github.com/pgjdbc/pgjdbc/commit/cddcd18= 5cc71267e8eb177c6ba1dab3f029da089#diff-9cedabddb25727db7a1346738c8b7b5dR522= that did touch _pgNameToOid. > We might want to use some common approach for _pgNameToOid. >=20 > Vladimir Michael Glaesemann grzm seespotcode net --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc