From: Tom Lane <tgl@sss.pgh.pa.us>
To: Emil Rachovsky <zsevgymko@yahoo.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] lost in system tables
Date: Tue, 06 Dec 2005 12:12:46 -0500
Message-ID: <4843.1133889166@sss.pgh.pa.us> (raw)
In-Reply-To: <20051206154755.86057.qmail@web54314.mail.yahoo.com>
References: <20051206154755.86057.qmail@web54314.mail.yahoo.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, zsevgymko@yahoo.com, pgsql-general@postgresql.org
Subject: Re: [SQL] lost in system tables
In-Reply-To: <4843.1133889166@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox