Quick System Catalog Query Question

Поиск
Список
Период
Сортировка
От Terry Hampton
Тема Quick System Catalog Query Question
Дата
Msg-id 40689A62.5080507@limacorp.com
обсуждение исходный текст
Ответы Re: Quick System Catalog Query Question  (Manuel Sugawara <masm@fciencias.unam.mx>)
Список pgsql-admin

All,

select attname, atttypmod, atttypid  from pg_attribute where
attrelid=3701787 and attnum > 0;

returns:

   attname   | atttypmod | atttypid
-------------+-----------+----------
  acct_name  |       132 |     1043
  grp               |        54 |     1043
  name           |       260 |     1043
  id                  |        54 |     1043
  proc_by        |        54 |     1043
  fldnames      |        -1 |       25
  flddata          |        -1 |       25


    I can't determine what SQL to which system catalog will associate
    "1043" to "varchar"   and  "25" to "text"


    many thanks for you help

        7.3.2  on Linux


            Terry





Terry L. Hampton
Project Manager
LimaCorp, LLC   www.limacorp.com
513.587.1874



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

Предыдущее
От: Terry Hampton
Дата:
Сообщение: Raw vs Filesystem
Следующее
От: "Jaime Casanova"
Дата:
Сообщение: Re: Raw vs Filesystem