Rodrigo E. De León Plicet wrote:
> On Thu, Aug 20, 2009 at 10:17 AM, Gerardo Herzig wrote:
>> Hi all. I have 2 functions , which returns the same columns, but with
>> tottaly different logics. I want to wrap it with a third function, who
>> will receive a boolean argument to decide wich sub-functio
On Thu, Aug 20, 2009 at 10:17 AM, Gerardo Herzig wrote:
> Hi all. I have 2 functions , which returns the same columns, but with
> tottaly different logics. I want to wrap it with a third function, who
> will receive a boolean argument to decide wich sub-function have to use.
>
> I want to use case,
Hi all. I have 2 functions , which returns the same columns, but with
tottaly different logics. I want to wrap it with a third function, who
will receive a boolean argument to decide wich sub-function have to use.
I want to use case, so i dont have to use pl/pgsql.
This is a non-working example: