From: Noah Misch <noah@leadboat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: SQL-standard function body
Date: Tue, 11 May 2021 00:49:13 -0700
Message-ID: <20210511074913.GA3210220@rfd.leadboat.com> (raw)
In-Reply-To: <688709.1620659383@sss.pgh.pa.us>
References: <493812.1593541480@sss.pgh.pa.us>
<494838.1593543098@sss.pgh.pa.us>
<20210418185546.GC1500781@rfd.leadboat.com>
<92408.1618772924@sss.pgh.pa.us>
<20210418211505.GA7256@telsasoft.com>
<142618.1618781618@sss.pgh.pa.us>
<964466e9-6b6c-c0ae-6277-a44e80229299@enterprisedb.com>
<2659727.1619540213@sss.pgh.pa.us>
<cfe5eac0-64ea-01d0-8ebc-94a16869490f@enterprisedb.com>
<688709.1620659383@sss.pgh.pa.us>
On Mon, May 10, 2021 at 11:09:43AM -0400, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> > On 27.04.21 18:16, Tom Lane wrote:
> >> That's kind of a lot of complication, and inefficiency, for a corner case
> >> that may never arise in practice. We've ignored the risk for default
> >> expressions, and AFAIR have yet to receive any field complaints about it.
> >> So maybe it's okay to do the same for SQL-style function bodies, at least
> >> for now.
>
> >>> Another option would be that we disallow this at creation time.
>
> >> Don't like that one much. The backend shouldn't be in the business
> >> of rejecting valid commands just because pg_dump might be unable
> >> to cope later.
>
> > Since this is listed as an open item, I want to clarify that I'm
> > currently not planning to work on this, based on this discussion.
> > Certainly something to look into sometime later, but it's not in my
> > plans right now.
>
> Right, I concur with moving it to the "won't fix" category.
Works for me.
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: noah@leadboat.com, tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com, pryzby@telsasoft.com, robertmhaas@gmail.com
Subject: Re: SQL-standard function body
In-Reply-To: <20210511074913.GA3210220@rfd.leadboat.com>
References: <493812.1593541480@sss.pgh.pa.us> <494838.1593543098@sss.pgh.pa.us> <20210418185546.GC1500781@rfd.leadboat.com> <92408.1618772924@sss.pgh.pa.us> <20210418211505.GA7256@telsasoft.com> <142618.1618781618@sss.pgh.pa.us> <964466e9-6b6c-c0ae-6277-a44e80229299@enterprisedb.com> <2659727.1619540213@sss.pgh.pa.us> <cfe5eac0-64ea-01d0-8ebc-94a16869490f@enterprisedb.com> <688709.1620659383@sss.pgh.pa.us> <20210511074913.GA3210220@rfd.leadboat.com>
* 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