why doesn't \d table_name show the table inheritance graph?

Поиск
Список
Период
Сортировка
От Terrence Brannon
Тема why doesn't \d table_name show the table inheritance graph?
Дата
Msg-id 2332B94E-F281-11D5-92F7-003065C2A10C@mac.com
обсуждение исходный текст
Ответ на Re: how does one replace a row in Postgresql? (ala MySQL REPLACE)  (Philip Hallstrom <philip@adhesivemedia.com>)
Ответы Re: why doesn't \d table_name show the table inheritance graph?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
The Momjian books shows this:


 test=> CREATE TABLE parent_test (col1 INTEGER);
        CREATE
        test=> CREATE TABLE child_test (col2 INTEGER) INHERITS 
(parent_test);
        CREATE
        test=> \d parent_test
                 Table "parent_test"
         Attribute |  Type   | Modifier 
        -----------+---------+----------
         col1      | integer | 
         
        test=> \d child_test
                 Table "child_test"
         Attribute |  Type   | Modifier 
        -----------+---------+----------
         col1      | integer | 
         col2      | integer |   

but I think it would be very important, to know inheritance as to 
know indexes.



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

Предыдущее
От: Terrence Brannon
Дата:
Сообщение: What happens if you delete a row containing a BLOB?
Следующее
От: Terrence Brannon
Дата:
Сообщение: temp tables versus the global sql area