Re: 7.4's INFORMATION_SCHEMA.Columns View

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mike(dot)griffin(at)mygenerationsoftware(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: 7.4's INFORMATION_SCHEMA.Columns View
Date: 2004-06-18 16:15:25
Message-ID: 20040618161525.GA10695@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 18, 2004 at 11:42:29 -0400,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> The SQL spec doesn't allow unconstrained lengths for these types
> so it gives no guidance about what to display in the information_schema
> views. Any opinions?

It might make some sense to use the maximum length supported by the type
for the precision. The documentations says that numeric is limited to
1000 digits.

If there isn't a set scale for the type, then NULL would probably make the
most sense.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-06-18 16:23:06 Re: putting binary data in a char field?
Previous Message Tom Lane 2004-06-18 15:42:29 Re: 7.4's INFORMATION_SCHEMA.Columns View