pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Paolo Ambrosio <p.ambrosio@tecnoteca.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getSuperTables
Date: Fri, 30 Apr 2010 18:01:24 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1004301756490.102@leary.csoft.net> (raw)
In-Reply-To: <21934325.2411272545369820.JavaMail.root@zimbra>
References: <21934325.2411272545369820.JavaMail.root@zimbra>



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



view thread (2+ messages)

Message-ID: <alpine.BSO.2.00.1004301756490.102@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1004301756490.102@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1004301756490.102@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, p.ambrosio@tecnoteca.it
  Subject: Re: getSuperTables
  In-Reply-To: <alpine.BSO.2.00.1004301756490.102@leary.csoft.net>
  References: <21934325.2411272545369820.JavaMail.root@zimbra> <alpine.BSO.2.00.1004301756490.102@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox