public inbox for [email protected]
help / color / mirror / Atom feedFrom: Kirill Reshke <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: BUG #19382: Server crash at __nss_database_lookup
Date: Tue, 20 Jan 2026 14:47:17 +0500
Message-ID: <CALdSSPi37EqQUjFvMPKHQiGcp6d+NptPcCYoCm7FhgSzbE6qbw@mail.gmail.com> (raw)
In-Reply-To: <CALdSSPiG3GZgdBROiAguqdSSZzB4=CS5UrqLPenV0XPgSEmszw@mail.gmail.com>
References: <[email protected]>
<CALdSSPh--kHOv_OokqEZO5sgAxyZf2p6JWNP_dkdpSXSJ6nBqw@mail.gmail.com>
<CALdSSPiG3GZgdBROiAguqdSSZzB4=CS5UrqLPenV0XPgSEmszw@mail.gmail.com>
> In fact, this fails as fast as 'SELECT bar()' for me. Also, it fails
> for REL_14_STABLE, REL_16_STABLE, so, problem is for all supported
> versions
Below fails in same way:
"
CREATE TABLE foo (a INT, b INT);
CREATE FUNCTION bar() RETURNS RECORD AS $$
DECLARE
r foo := ROW(1, 1);
BEGIN
ALTER table foo alter column b type text;
RETURN r;
END;
$$ LANGUAGE plpgsql;
SELECT bar();
"
My current idea is that we should somehow reject the ALTER type if it
is used to declare part of a function. Maybe exec_assign_expr should
report all types that are used to evaluate expressions in the declare
part?
--
Best regards,
Kirill Reshke
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: BUG #19382: Server crash at __nss_database_lookup
In-Reply-To: <CALdSSPi37EqQUjFvMPKHQiGcp6d+NptPcCYoCm7FhgSzbE6qbw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox