Re: Default values in functions

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Default values in functions
Date: 2021-12-30 00:46:10
Message-ID: CAHOFxGoM-U9MLd5L3K+49z3mZoEqc1h+aUYfsLjq6oxJ3EXhmQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 29, 2021, 5:31 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> The way to do that is to use named parameters and the associated
> call syntax, ie something like
>
> select myfunc(param1 => 42, param3 => 99);
>

Thanks very much. I have not seen that before.

>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message john polo 2021-12-30 02:09:24 Re: Find missing data in a column
Previous Message Tom Lane 2021-12-30 00:31:55 Re: Default values in functions