Re: 7.4's INFORMATION_SCHEMA.Columns View

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: 7.4's INFORMATION_SCHEMA.Columns View
Дата
Msg-id 20040618161525.GA10695@wolff.to
обсуждение исходный текст
Ответ на Re: 7.4's INFORMATION_SCHEMA.Columns View  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 7.4's INFORMATION_SCHEMA.Columns View  (mike.griffin@mygenerationsoftware.com)
Список pgsql-general
On Fri, Jun 18, 2004 at 11:42:29 -0400,
  Tom Lane <tgl@sss.pgh.pa.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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 7.4's INFORMATION_SCHEMA.Columns View
Следующее
От: Tom Lane
Дата:
Сообщение: Re: putting binary data in a char field?