From: Tom Lane <tgl@sss.pgh.pa.us>
To: marcos.castedo@anachronics.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14414: SPI_ERROR_CONNECT on stable plpgsql function used for domain check
Date: Sun, 06 Nov 2016 12:12:40 -0500
Message-ID: <6309.1478452360@sss.pgh.pa.us> (raw)
In-Reply-To: <20161106010947.1387.66380@wrigleys.postgresql.org>
References: <20161106010947.1387.66380@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
marcos.castedo@anachronics.com writes:
> I'm trying to do a domain using stable plpgsql function for value check.
> This isn't working on 9.6.x on plpgsql using assignment from base data type,
> but it works fine on 9.2.x.
Seems to be broken in 9.5 too :-(. I pushed a fix, thanks for the report!
> --Only fails on stable function, immutable works fine
FWIW, both cases fail for me. There may be some other effect in whatever
your original case was, but in this specific example an immutable function
fails too.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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, marcos.castedo@anachronics.com
Subject: Re: BUG #14414: SPI_ERROR_CONNECT on stable plpgsql function used for domain check
In-Reply-To: <6309.1478452360@sss.pgh.pa.us>
References: <20161106010947.1387.66380@wrigleys.postgresql.org> <6309.1478452360@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