Skip site navigation (1) Skip section navigation (2)

Demo patch for DROP COLUMN

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Demo patch for DROP COLUMN
Date: 2002-07-19 08:50:24
Message-ID: GNELIHDDFBOCMGBFGEFOKEDMCDAA.chriskl@familyhealth.com.au (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
DON'T APPLY THIS PATCH!

Hi All,

This is the patch of what I've done so far.  I'd value any feedback!

The only thing that I'm not checking (as far as I know) is ALTER TABLE/ADD
FOREIGN KEY and CREATE CONSTRAINT TRIGGER, as I'm still trying to figure out
the best place to make the change.

Every other command is updated.

Dependency support is commented out until I figure out how to do it...

It includes the most detailed regression test I've ever written, but no
expected results until I fix foreign keys.

Please have a look and see if there's anything I've overlooked...

Thanks,

Chris

Attachment: dropcolumn2.txt.gz
Description: application/x-gzip (14.9 KB)

Responses

pgsql-hackers by date

Next:From: Tomas LehutaDate: 2002-07-19 13:14:15
Subject: contrib/fulltextindex
Previous:From: Joe ConwayDate: 2002-07-19 04:39:39
Subject: Re: RFC: listing lock status

pgsql-patches by date

Next:From: Neil ConwayDate: 2002-07-19 15:07:48
Subject: fix bison warnings
Previous:From: Bruce MomjianDate: 2002-07-18 23:05:30
Subject: Re: [PATCHES] utils C files

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group