Search Postgresql Archives

Re: function signature allow "default" keyword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux