Re: convert 'foobar'::text to the string foobar - Mailing list pgsql-jdbc

From Guillaume Cottenceau
Subject Re: convert 'foobar'::text to the string foobar
Date
Msg-id 878y2d5416.fsf@meuh.mnc.ch
Whole thread Raw
In response to Re: convert 'foobar'::text to the string foobar  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Carsten Marx
Date:
Subject: Questions on property values
Next
From: Craig Servin
Date:
Subject: Re: Questions on property values