Re: Behaviour of rows containg not-null domains in plpgsql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Behaviour of rows containg not-null domains in plpgsql
Date
Msg-id 5524.1203876518@sss.pgh.pa.us
Whole thread Raw
In response to Re: Behaviour of rows containg not-null domains in plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> What seems worse is that it still fails even if you declare the domain 
> to have a default value.

Hmm, that seems like it could be a bug.  We don't currently consider
that a rowtype includes the parent table's defaults or constraints.
But if we are going to honor a domain's constraints then maybe the
domain's default has to float along with that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison
Next
From: Tom Lane
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison