pg_get_constraintdef

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_get_constraintdef
Date: 2003-01-13 03:25:02
Message-ID: GNELIHDDFBOCMGBFGEFOGEPJCEAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-01-13 03:52:23 Re: pg_get_constraintdef
Previous Message Christopher Kings-Lynne 2003-01-13 03:23:58 Re: Prepared statements question