A patch that adds primary key and unique key support to psql's \d

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: A patch that adds primary key and unique key support to psql's \d
Date: 2001-05-22 02:00:23
Message-ID: ECEHIKNFIMMECLEBJFIGAEJMCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This just breaks down the indices in to three groups:

non-unique: stay as they were
unique and primary: become listed as primary keys
unique and non-primary: become listed as unique keys

I also made it so that it shows the names of check constraints ie:

Check: "$1" (a > 5)

Chris

Attachment Content-Type Size
psql.diff application/octet-stream 5.4 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-05-22 18:03:26 JDBC commit to 7.1.2
Previous Message Bruce Momjian 2001-05-22 01:31:02 pgindent changes to selfuncs.c