showing the DEFAULT of a field

Поиск
Список
Период
Сортировка
Искать

showing the DEFAULT of a field

От:
Klaus Woelfel <woelfel@mayn.de>
Дата:
Hi,
I'm new to psql and used mysql before. With mysql I could get with "show columns
from table 'table_name'" a table with the rows "Field", "Type", "NULL", "Key",
"Default" and "Extra".

But with "\d 'table_name'" in qsql I get only a table with the rows "Field",
"Type", and "Length". How can I get the other Information for example the
Default or if the field has the primary key? 

Klaus Woelfel

FAQ