Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3Qzu-00081X-9e for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Nov 2016 17:12:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c3Qzt-0007w4-OF for pgsql-bugs@arkaria.postgresql.org; Sun, 06 Nov 2016 17:12:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c3Qzt-0007vy-FK for pgsql-bugs@postgresql.org; Sun, 06 Nov 2016 17:12:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c3Qzr-0003Oh-1c for pgsql-bugs@postgresql.org; Sun, 06 Nov 2016 17:12:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uA6HCe2I006310; Sun, 6 Nov 2016 12:12:40 -0500 From: Tom Lane 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 In-reply-to: <20161106010947.1387.66380@wrigleys.postgresql.org> References: <20161106010947.1387.66380@wrigleys.postgresql.org> Comments: In-reply-to marcos.castedo@anachronics.com message dated "Sun, 06 Nov 2016 01:09:47 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6308.1478452360.1@sss.pgh.pa.us> Date: Sun, 06 Nov 2016 12:12:40 -0500 Message-ID: <6309.1478452360@sss.pgh.pa.us> X-Pg-Spam-Score: -3.9 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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