pg_get_constraintdef patch #2

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: pg_get_constraintdef patch #2
Date: 2003-01-13 07:51:43
Message-ID: GNELIHDDFBOCMGBFGEFOCEPOCEAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi,

This patch supercedes the previous version. Apply this instead of the
previous version.

This patch makes pg_get_constraintdef support UNIQUE, PRIMARY KEY and CHECK
constraints.

There are apparently no other types of constraint in pg_constraint, so now
all bases are covered. Also, this patch assumes that consrc for a CHECK
constraint is always bracketed so that it's not necessary to add extra
brackets.

Chris

Attachment Content-Type Size
constraint2.txt text/plain 9.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Lee Kindness 2003-01-13 12:20:40 Re: [PATCHES] PostgreSQL libraries - PThread Support, but
Previous Message Christopher Kings-Lynne 2003-01-13 06:44:06 Add UNIQUE and PRIMARY KEY to pg_get_constraintdef