Re: [SQL] lost in system tables - Mailing list pgsql-general

From Tom Lane
Subject Re: [SQL] lost in system tables
Date
Msg-id 4843.1133889166@sss.pgh.pa.us
Whole thread Raw
In response to lost in system tables  (Emil Rachovsky <zsevgymko@yahoo.com>)
Responses Re: [SQL] lost in system tables  (Emil Rachovsky <zsevgymko@yahoo.com>)
List pgsql-general
Emil Rachovsky <zsevgymko@yahoo.com> writes:
>  I am trying to find the equivalent of these two
> Sybase system columns :

> check_on_commit (Y/N)  -  Indicates whether INSERT and
> UPDATE commands should wait until the next COMMIT
> command to check if foreign keys are valid.

I think you are looking for the DEFERRABLE/DEFERRED option of foreign
key constraints.

> nulls (Y/N)  -  Indicates whether the columns in the
> foreign key are allowed to contain the NULL value.
> Note that this setting is independent of the nulls
> setting in the columns contained in the foreign key.

No such animal in the SQL standard --- though perhaps MATCH FULL
is approximately what you are looking for?  Your description as
stated makes no sense at all; either the columns are allowed to
be null, or they're not.

            regards, tom lane

pgsql-general by date:

Previous
From: Luca Pireddu
Date:
Subject: Re: lost in system tables
Next
From: "Andrus"
Date:
Subject: Should I fix something after disk full error