Re: function signature allow "default" keyword - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: function signature allow "default" keyword
Date
Msg-id 24773cba-70e2-dde2-7973-ba384cf1f0d9@enterprisedb.com
Whole thread Raw
In response to function signature allow "default" keyword  (jian he <jian.universality@gmail.com>)
List pgsql-general
On 15.05.23 10:33, jian he wrote:
> function idea.
> allow function calling using the default keyword for any of the input 
> arguments.
> 
> example: https://dbfiddle.uk/FQwnfdmm <https://dbfiddle.uk/FQwnfdmm>
> So something like this "SELECT * FROM customer_orders(2579927, 
> 'order_placed_on DESC', default, 2);"
> should work.

This is currently not supported by PostgreSQL.  I have half a patch for 
it, though, so maybe we'll get to it one day.




pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: function signature allow "default" keyword
Next
From: Evgeny Morozov
Date:
Subject: Re: "PANIC: could not open critical system index 2662" - twice