pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Wolfgang Walther <walther@technowledgy.de>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Calling variadic function with default value in named notation
Date: Thu, 29 Oct 2020 11:51:12 -0400
Message-ID: <1549605.1603986672@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwZu6G3GuWUS=8+VwwwHQBef5YaEnAPz6E2ZN3A1aXHUWg@mail.gmail.com>
References: <5a80bcdb-e92a-5c21-d923-f3813543771b@technowledgy.de>
	<1449498.1603919899@sss.pgh.pa.us>
	<d6a7d0ac-3052-d8ac-f700-7e4decfd4f09@technowledgy.de>
	<CAKFQuwZu6G3GuWUS=8+VwwwHQBef5YaEnAPz6E2ZN3A1aXHUWg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> As I look at this more I'm definitely agreeing that the documentation here
> is problematic.  Specifically, the fact that the only place about this
> syntax is in a chapter under Extending SQ - SQL Functions, is not good.  It
> really needs to be in the Syntax chapter.

The documentation situation was complained of in the 2009 thread I just
cited :-(.  Doesn't look like anybody did anything about it.

I am not, however, persuaded that you can just move a bunch of that
material to the syntax chapter.  I don't think it's very practical
to describe variadic functions when the user doesn't know how to
create one.  And we definitely should not push all the docs about
creating functions into the syntax chapter.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <1549605.1603986672@sss.pgh.pa.us>
Permalink:  ../1549605.1603986672@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1549605.1603986672@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, walther@technowledgy.de, pgsql-bugs@lists.postgresql.org
  Subject: Re: Calling variadic function with default value in named notation
  In-Reply-To: <1549605.1603986672@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox