pg_get_constraintdef - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject pg_get_constraintdef
Date
Msg-id GNELIHDDFBOCMGBFGEFOGEPJCEAA.chriskl@familyhealth.com.au
Whole thread Raw
Responses Re: pg_get_constraintdef  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Is there some reason why pg_get_constraintdef only supports Foreign Key
constraints?  Why not have it output ALTER TABLE commands for UNIQUE and
PRIMARY KEY constraints?  That would make my life so much easier for
phpPgAdmin and also pg_dump could be simplified quite considerably...?

Chris



pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Prepared statements question
Next
From: Tom Lane
Date:
Subject: Re: pg_get_constraintdef