FW: Help with SET NULL/SET NOT NULL

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: FW: Help with SET NULL/SET NOT NULL
Date: 2002-03-21 05:51:52
Message-ID: GNELIHDDFBOCMGBFGEFOEENBCBAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

This message didn't seem to go through - am I being blocked by the list
server? Let's see if it does this time...

> -----Original Message-----
> From: Christopher Kings-Lynne [mailto:chriskl(at)familyhealth(dot)com(dot)au]
> Sent: Wednesday, 20 March 2002 1:10 PM
> To: Hackers
> Subject: Help with SET NULL/SET NOT NULL
>
>
> Hi all,
>
> I did an initial patch for ALTER TABLE / SET NULL that should
> just say 'not implemented' when someone tries it, but I get this:
>
> template1=# alter table test alter column a set null;
> ERROR: parser: parse error at or near "null"
> template1=# alter table test alter column a set null_p;
> ERROR: parser: parse error at or near "null_p"
> template1=# alter table test alter column a set not null;
> ERROR: parser: parse error at or near "not"
>
> What have I missed?
>
> All regression tests pass...
>
> Attached is context diff
>
> I'm pretty sure that I haven't done preproc.y correctly either...
>
> Chris
>
> ps. DON'T COMMIT THIS PATCH!!!

Attachment Content-Type Size
null.txt text/plain 16.2 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-03-21 06:19:51 oops
Previous Message Neil Conway 2002-03-21 05:19:47 Re: [GENERAL] Notify argument?