pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Amul Sul <sulamul@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Corey Huinker <corey.huinker@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Joe Conway <mail@joeconway.com>
Cc: Nikita Glukhov <n.gluhov@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Error-safe user functions
Date: Mon, 19 Dec 2022 16:27:00 -0500
Message-ID: <1028325.1671485220@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+Tgmoa92UBV_rEte8kcegQKw6CCG9uyO=stKw9+XEuH9+jW7g@mail.gmail.com >
References: <4009543.1670422833@sss.pgh.pa.us >
<6acddf68-7cb7-e9e7-a5a7-0abc87b3c55b@dunslane.net >
<CAKFQuwYdQqQru9tpMpY4JpCEJ8OeN8kwmBG6DY2QyzE+5znA6Q@mail.gmail.com >
<4111458.1670444176@sss.pgh.pa.us >
<3211.1670452341@sss.pgh.pa.us >
<20221207233518.sudtaxn6omtvpzvr@awork3.anarazel.de >
<186288.1670517119@sss.pgh.pa.us >
<CA+TgmoZOhQ8FfWH9_r58tLtb=AwBn=7ugO2PHh6moR8jhYviUA@mail.gmail.com >
<20221208215836.3naznqmal2m32hzc@awork3.anarazel.de >
<512551.1670540229@sss.pgh.pa.us >
<20221209023351.l362yejerfoq3lfp@awork3.anarazel.de >
<633426.1670554790@sss.pgh.pa.us >
<01ff2051-806d-af2f-4f9e-793f7ba9a3f8@dunslane.net >
<778369.1670598993@sss.pgh.pa.us >
<5aaf7c66-9df9-21a9-1ff4-02c7848def52@dunslane.net >
<3bac9841-fe07-713d-fa42-606c225567d6@dunslane.net >
<1436686.1670701118@sss.pgh.pa.us >
<2b1e7d56-6f37-bad9-9702-053ab55ecf60@dunslane.net >
<1805344.1670779451@sss.pgh.pa.us >
<b54e97be-7316-2cab-6969-bfac6ec88ca6@dunslane.net >
<1863335.1670783397@sss.pgh.pa.us >
<3038346.1671060258@sss.p! gh.pa.us >
<CA+TgmobdvGSCNWvD2OYAajjUaS+vYKXYCsSSdk=vrUJaZ2TbOg@mail.gmail.com >
<3564577.1671142683@sss.pgh.pa.us >
<3819056.1671215496@sss.pgh.pa.us >
<CA+TgmoYAfYDL-=FcgzMhWWqUxtsnbu3ShrGMaG+ah4Kfn_fkzw@mail.gmail.com >
<936418.1671468277@sss.pgh.pa.us >
<CA+Tgmoa92UBV_rEte8kcegQKw6CCG9uyO=stKw9+XEuH9+jW7g@mail.gmail.com >
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Dec 19, 2022 at 11:44 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... I guess you didn't read my remarks upthread about regtypein.
>> I do not want to try to make gram.y+scan.l non-error-throwing.
> Huh, for some reason I'm not seeing an email about that. Do you have a link?
In [1] I wrote
>>> I'm a little concerned about the cost-benefit of fixing the reg* types.
>>> The ones that accept type names actually use the core grammar to parse
>>> those. Now, we probably could fix the grammar to be non-throwing, but
>>> it'd be very invasive and I'm not sure about the performance impact.
>>> It might be best to content ourselves with soft reporting of lookup
>>> failures, as opposed to syntax problems.
regards, tom lane
[1] https://www.postgresql.org/message-id/1863335.1670783397%40sss.pgh.pa.us
view thread (175+ messages) latest in thread
Message-ID: <1028325.1671485220@sss.pgh.pa.us>
Permalink: ../1028325.1671485220@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1028325.1671485220@sss.pgh.pa.us
copy link · copy postgr.es
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andrew@dunslane.net, sulamul@gmail.com, andres@anarazel.de, aekorotkov@gmail.com, david.g.johnston@gmail.com, corey.huinker@gmail.com, alvherre@alvh.no-ip.org, mail@joeconway.com, n.gluhov@postgrespro.ru, pgsql-hackers@lists.postgresql.org
Subject: Re: Error-safe user functions
In-Reply-To: <1028325.1671485220@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