Re: convert 'foobar'::text to the string foobar

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: convert 'foobar'::text to the string foobar
Date: 2005-05-18 08:31:17
Message-ID: 878y2d5416.fsf@meuh.mnc.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Craig Servin 2005-05-18 10:22:51 Re: Questions on property values
Previous Message Carsten Marx 2005-05-18 06:57:47 Questions on property values