Re: Proposal: variant of regclass - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Proposal: variant of regclass
Date
Msg-id 20131205110538.GD14419@alap2.anarazel.de
Whole thread Raw
In response to Re: Proposal: variant of regclass  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Proposal: variant of regclass
List pgsql-hackers
On 2013-12-05 11:54:20 +0100, Pavel Stehule wrote:
> 2013/12/5 Andres Freund <andres@2ndquadrant.com>
> We can introduce some assert polymorphic function
> 
> CREATE OR REPLACE FUNCTION notnull(any, message text) RETURNS any, that can
> be used for check inside SQL

Uh. How is that going to help applications that upgraded, without having
noticed a pretty obscure notice in the release notes?

If this were day one, I would agree we should go that way, but today...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Proposal: variant of regclass
Next
From: Simon Riggs
Date:
Subject: Re: Proof of concept: standalone backend with full FE/BE protocol