mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Sample output that appears below the table attributes for \d:
Indicies: palm_buy_date_idx palm_user_date_idx Primary Key: palm_buyers_pkey Unique Key: palm_buyers_username Constraint: "$1" ((sex = 'M'::bpchar) OR (sex = 'F'::bpchar)) Note that check constraint name now shown as well. (Makes it a lot easier to test inheritance support in ADD/DROP constraint :) ) Attached is a docs change for psql. Christopher Kings
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.54 2001/05/27 09:59:28 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.55 2001/05/28 04:27:17 momjian Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -348,7 +348,8 @@ testdb=>
|
||||
(which could be a table, view, index, or sequence),
|
||||
their types, and any special attributes such as <literal>NOT NULL</literal>
|
||||
or defaults, if any.
|
||||
If the relation is, in fact, a table, any defined indexes are also listed.
|
||||
If the relation is, in fact, a table, any defined indices, primary keys, unique
|
||||
constraints and check constraints are also listed.
|
||||
If the relation is a view, the view definition is also shown.
|
||||
</para>
|
||||
|
||||
|
Reference in New Issue
Block a user