Re: SET NULL / SET NOT NULL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SET NULL / SET NOT NULL
Date
Msg-id 4613.1014263278@sss.pgh.pa.us
Whole thread Raw
In response to Re: SET NULL / SET NOT NULL  (Thomas Lockhart <lockhart@fourpalms.org>)
Responses Re: SET NULL / SET NOT NULL
List pgsql-hackers
The SQL spec will not help us here, since it doesn't define such a
capability AFAICT.  We might do worse than to look at Or*cle's
implementation, which appears to involve a MODIFY keyword.

I find this in the Or*cle 8i documentation examples:
The following statement alters the EMP table and defines andenables a NOT NULL constraint on the SAL column:
ALTER TABLE emp    MODIFY (sal  NUMBER  CONSTRAINT nn_sal NOT NULL); 

The docs are opaque enough that I can't actually figure out a BNF
definition for ALTER TABLE MODIFY, and I don't have a working
installation to experiment against.  Can any Or*cle users here
enlighten us?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: date/time compatible problems in 7.2
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: SET NULL / SET NOT NULL