BUG #15435: Infinite-recursive SQL procedure can crash a database server

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: emuser20140816(at)gmail(dot)com
Subject: BUG #15435: Infinite-recursive SQL procedure can crash a database server
Date: 2018-10-17 06:18:40
Message-ID: 15435-299488dd5221754d@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15435
Logged by: rlbxku1r
Email address: emuser20140816(at)gmail(dot)com
PostgreSQL version: 11rc1
Operating system: Windows
Description:

CREATE PROCEDURE proc1() LANGUAGE sql AS 'CALL proc1();';
CALL proc1(); -- crash

I've also tried the minimum max_stack_depth, but it has no effect:
SET max_stack_depth TO '100kB';
CALL proc1();

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-10-17 09:42:49 BUG #15436: Using odbc_fdw against DB2 Linux crashes the server
Previous Message Andrey 2018-10-16 12:25:18 Re: BUG #15434: NUMERIC without any precision or scale truncates scale to 16 digits