Re: Check constraint metadata

From: Kris Jurka <books(at)ejurka(dot)com>
To: Roy Smith <roy(dot)smith(at)primetext(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Check constraint metadata
Date: 2008-01-07 03:03:58
Message-ID: Pine.BSO.4.64.0801062156030.9644@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, 5 Jan 2008, Roy Smith wrote:

> I can't see any custom extensions to extract check constraints - are there
> any?
>

No, currently there's no way of retrieving this information from the
driver. I'm not sure how beneficial it would be because it's a
relatively simple query and the hard part is actually converting the check
to Java code. What do you do with "CHECK (f(a) = 3)" ?

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2008-01-07 06:24:23 Re: Patch for Statement.getGeneratedKeys()
Previous Message Kris Jurka 2008-01-07 02:55:52 Re: Batch Update problem