From: Guillaume Cottenceau <gc@mnc.ch>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: convert 'foobar'::text to the string foobar
Date: 18 May 2005 10:31:17 +0200
Message-ID: <878y2d5416.fsf@meuh.mnc.ch> (raw)
In-Reply-To: <Pine.BSO.4.56.0505171230460.20628@leary.csoft.net>
References: <87mzqzb58t.fsf@meuh.mnc.ch>
<Pine.BSO.4.56.0505171230460.20628@leary.csoft.net>
Kris Jurka <books 'at' ejurka.com> writes:
> On Fri, 13 May 2005, Guillaume Cottenceau wrote:
>
> > I want to retrieve the default value of a TEXT column of a table.
>
> You might want to consider DatabaseMetaData.getColumns() and using the
> COLUMN_DEF column.
Ah, yes, this is cleaner. Thanks Kris.
--
Guillaume Cottenceau
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: gc@mnc.ch, books@ejurka.com
Subject: Re: convert 'foobar'::text to the string foobar
In-Reply-To: <878y2d5416.fsf@meuh.mnc.ch>
References: <87mzqzb58t.fsf@meuh.mnc.ch> <Pine.BSO.4.56.0505171230460.20628@leary.csoft.net> <878y2d5416.fsf@meuh.mnc.ch>
* 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