Re: plpgsql.consistent_into - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: plpgsql.consistent_into
Date
Msg-id 52D309AC.8000609@joh.to
Whole thread Raw
In response to Re: plpgsql.consistent_into  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
On 1/12/14, 10:19 PM, Florian Pflug wrote:
> On Jan12, 2014, at 06:51 , Marko Tiikkaja <marko@joh.to> wrote:
>>
>> set plpgsql.consistent_into to true;
>
> I don't think a GUC is the best way to handle this. Handling
> this via a per-function setting similar to #variable_conflict would
> IMHO be better.

This is exactly what the patch does.  A global default in the form of a 
GUC, and then a per-function option for overriding that default.


Regards,
Marko Tiikkaja



pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: plpgsql.consistent_into
Next
From: Pavel Stehule
Date:
Subject: Re: plpgsql.consistent_into