Re: Querying the schema for column widths - what syntax do I use?

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Querying the schema for column widths - what syntax do I use?
Date: 2008-02-21 14:37:06
Message-ID: 20080221143706.GH22594@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

am Thu, dem 21.02.2008, um 12:42:51 +0000 mailte Howard Wilkinson folgendes:
> SO I can do something like this?
>
> select character_maximum_length from information_schema.columns where
> table_name='rr' and column_name='data';
>
> Yes?

Yes.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2008-02-21 15:20:17 Disable Triggers
Previous Message luca.ciciriello 2008-02-21 13:55:28 selective backup and restore