Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E2149632C49 for ; Fri, 30 Apr 2010 19:01:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 40917-08 for ; Fri, 30 Apr 2010 22:01:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 65C01632969 for ; Fri, 30 Apr 2010 19:01:26 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id BAAAB28432; Fri, 30 Apr 2010 18:01:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=ZR//6wdBcTGwAtFqr80272Yuw4A=; b=QLZuE6 xCL22mjpbgTTQ872JUAeXhEXRqbiFNfO2E+js/ZMsaowkCIeJsStRM/+VE838rgR FxZj8Aw9oOWx2Cg+4gb+cDtrqhvGBXQ1MbmJbxmmbNkkgYUs+xk5oNCnFdiZwstC +KLJqPfDgiEqXSJmuKRg8vr1Z73GK3xFn5hys= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id B7BF728415; Fri, 30 Apr 2010 18:01:24 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id A69DFA3A8; Fri, 30 Apr 2010 18:01:24 -0400 (EDT) Date: Fri, 30 Apr 2010 18:01:24 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Paolo Ambrosio cc: pgsql-jdbc@postgresql.org Subject: Re: getSuperTables In-Reply-To: <21934325.2411272545369820.JavaMail.root@zimbra> Message-ID: References: <21934325.2411272545369820.JavaMail.root@zimbra> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/72 X-Sequence-Number: 20483 On Thu, 29 Apr 2010, Paolo Ambrosio wrote: > I need the JDBC3 method getSuperTables for a software I'm working on. > > I am attaching the patch and I would appreciate if someone could take a > look at it, and perhaps commit it into the cvs repository. > The JDBC javadoc for getSuperTables [1] is kind of odd. It says: Supertables have to be defined in the same catalog and schema as the sub tables. Therefore, the type description does not need to include this information for the supertable. This seems like an odd restriction based on some other database, but it is not the case in PG. I guess we have to follow it though because there really isn't any place to indicate the schema if it isn't the same as the sub-table. Please update your patch to include this restriction. Also your patch should be in context diff format (use "cvs diff -c"). Kris Jurka