function signature allow "default" keyword

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: function signature allow "default" keyword
Date: 2023-05-15 08:33:53
Message-ID: CACJufxFoh5wehchoMoAgusSNWDViOeu_LMkVWoBEuwWBGv05rQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

function idea.
allow function calling using the default keyword for any of the input
arguments.

example: https://dbfiddle.uk/FQwnfdmm
So something like this "SELECT * FROM customer_orders(2579927,
'order_placed_on DESC', default, 2);"
should work.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2023-05-15 09:00:40 Re: function signature allow "default" keyword
Previous Message FOUTE K. Jaurès 2023-05-15 04:12:20 Re: PG_Cron - Error Message Connection failed