Re: DEFERRABLE NOT NULL constraint

From: Bèrto ëd Sèra <berto(dot)d(dot)sera(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DEFERRABLE NOT NULL constraint
Date: 2013-02-05 13:51:09
Message-ID: CAKwGa_82bSg86zSHm4dokoGOhpqx6-XROnw=RoJZ3EN9w3uESQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

> That sounds a bit contrived, but you could create a view
> and hide the processing in an INSTEAD OF INSERT trigger.

Yes, there are ways to hack it anyway. The thing is about keeping it
simple and having it come out clear of a \d, when you ask info about
the table from within psql. It is definitely possible "as is", in a
number of ways.

Cheers
Bèrto

--
==============================
If Pac-Man had affected us as kids, we'd all be running around in a
darkened room munching pills and listening to repetitive music.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message aasat 2013-02-05 14:02:07 SP-GiST indexing for box types?
Previous Message Albe Laurenz 2013-02-05 13:47:11 Re: DEFERRABLE NOT NULL constraint