Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id DECA26B2589 for ; Thu, 29 Dec 2011 08:42:05 -0400 (AST) Received: from news.hub.org ([200.46.204.72]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RgFJ5-0002M7-UX for pgsql-jdbc@postgresql.org; Thu, 29 Dec 2011 12:42:04 +0000 Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id pBTCfnQn008282 for ; Thu, 29 Dec 2011 08:41:49 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id pBTCGj8f084144 for pgsql-jdbc@postgresql.org; Thu, 29 Dec 2011 08:16:45 -0400 (AST) (envelope-from news) From: Valentine Gogichashvili X-Newsgroups: pgsql.interfaces.jdbc Subject: Type OID search does not support search_path and multiple schemas Date: Thu, 29 Dec 2011 04:16:44 -0800 (PST) Organization: http://groups.google.com Lines: 1 Message-ID: <19064087.973.1325161004406.JavaMail.geo-discussion-forums@vbmr10> Reply-To: pgsql.interfaces.jdbc@googlegroups.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: groups-abuse@google.com Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=62.53.164.158; posting-account=zGCcogoAAAArwo4vzM49iZKKucd6_BKu User-Agent: G2/1.0 X-Google-Web-Client: true To: pgsql-jdbc@postgresql.org X-Pg-Spam-Score: -3.2 (---) X-Archive-Number: 201112/84 X-Sequence-Number: 22538 When searching for OID of a Type, current search_path is not considered and if type with the same name exists in several schemas, not a valid OID is fetched to be cached in TypeInfoCache class.