From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: r.zharkov@postgrespro.ru
Cc: pgsql-bugs@lists.postgresql.org
Cc: noreply@postgresql.org
Subject: Re: BUG #15746: cache lookup failed for function in plpgsql block
Date: Fri, 12 Apr 2019 12:55:04 -0400
Message-ID: <1594.1555088104@sss.pgh.pa.us> (raw)
In-Reply-To: <20190411.211113.08508498.horiguchi.kyotaro@lab.ntt.co.jp>
References: <15746-6e0482a4c0f915cb@postgresql.org>
<20190411.211113.08508498.horiguchi.kyotaro@lab.ntt.co.jp>
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes:
> It seems to me possible that a cast calls a wrong function and
> leads to a crash.
I don't see a good reason to think that a crash is possible.
> But I don't come up with a good way to fix
> this, but applying a part of the patch 04fe805a17 on 11(.2) seems
> working.
FWIW, I intentionally did not back-patch 04fe805a17. I judged
that before the domain-related changes in that patch, such cases
wouldn't come up often enough to justify inserting poorly-tested
code into the back branches. I still think that.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, horiguchi.kyotaro@lab.ntt.co.jp, r.zharkov@postgrespro.ru, noreply@postgresql.org
Subject: Re: BUG #15746: cache lookup failed for function in plpgsql block
In-Reply-To: <1594.1555088104@sss.pgh.pa.us>
References: <15746-6e0482a4c0f915cb@postgresql.org> <20190411.211113.08508498.horiguchi.kyotaro@lab.ntt.co.jp> <1594.1555088104@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