pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: shihao zhong <zhong950419@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [PG19] Bogus errors for polymorphic plpython functions
Date: Sun, 01 Nov 2026 11:27:41 -0500
Message-ID: <366953.1793550461@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGRkXqRP_mu4A3G9eZsaDC7oqyvBdSxNF8k_nckg2HgB63S4jQ@mail.gmail.com>
References: <2865288.1793403201@sss.pgh.pa.us>
	<CAGRkXqTg0rRHqWXHwO4Qk+4sc0k5k-dW7pswN6Cg1EKSjHwiFQ@mail.gmail.com>
	<2928361.1793418092@sss.pgh.pa.us>
	<CAGRkXqTD1oBQFbUhMKiKvxRzXE1mV+SjAKewqiJvjxH0j7m65A@mail.gmail.com>
	<233394.1793464193@sss.pgh.pa.us>
	<CAGRkXqRP_mu4A3G9eZsaDC7oqyvBdSxNF8k_nckg2HgB63S4jQ@mail.gmail.com>

shihao zhong <zhong950419@gmail.com> writes:
> One small thing in 0002. A single OUT void parameter worked before
> and is now rejected. RETURNS TABLE(v void) is the same.

I'm pretty skeptical that anyone ever wrote this, or that we should
consider it a supported thing to do, so I'm inclined to leave the
patch as-is.  RETURNS VOID is supposed to mean "no interesting
return value", but the two syntaxes you sketch treat it as a regular
data type, which is not a thing we should encourage.

			regards, tom lane






view thread (9+ messages)  latest in thread

Message-ID: <366953.1793550461@sss.pgh.pa.us>
Permalink:  ../366953.1793550461@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/366953.1793550461@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zhong950419@gmail.com
  Subject: Re: [PG19] Bogus errors for polymorphic plpython functions
  In-Reply-To: <366953.1793550461@sss.pgh.pa.us>
  References: <2865288.1793403201@sss.pgh.pa.us> <CAGRkXqTg0rRHqWXHwO4Qk+4sc0k5k-dW7pswN6Cg1EKSjHwiFQ@mail.gmail.com> <2928361.1793418092@sss.pgh.pa.us> <CAGRkXqTD1oBQFbUhMKiKvxRzXE1mV+SjAKewqiJvjxH0j7m65A@mail.gmail.com> <233394.1793464193@sss.pgh.pa.us> <CAGRkXqRP_mu4A3G9eZsaDC7oqyvBdSxNF8k_nckg2HgB63S4jQ@mail.gmail.com> <366953.1793550461@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