From: feikesteenbergen@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13571: sql-only extension segfaults backend during creation
Date: Fri, 14 Aug 2015 12:54:50 +0000
Message-ID: <20150814125450.1670.49992@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13571
Logged by: Feike Steenbergen
Email address: feikesteenbergen@gmail.com
PostgreSQL version: 9.5alpha2
Operating system: Debian jessie x86_64
Description:
When installing a sql-only extension, my backend crashes taking the cluster
with it.
After some debugging we have created a reproducable testcase.
postgres@postgres=# create extension castbug;
server closed the connection unexpectedly
castbug.control:
relocatable = false
superuser = true
comment = 'This triggers a segfault on 9.5alpha2'
default_version = unstable
castbug--unstable.sql:
DO
$$
DECLARE
roles text[] := '{"job_scheduler","job_monitor"}';
BEGIN
END;
$$;
SELECT count(*)
FROM pg_class
CROSS JOIN generate_series(1,100);
DO
$$
DECLARE
something text[] := '{"jb_scheduler","job_monitr"}';
BEGIN
END;
$$;
--
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: feikesteenbergen@gmail.com
Subject: Re: BUG #13571: sql-only extension segfaults backend during creation
In-Reply-To: <20150814125450.1670.49992@wrigleys.postgresql.org>
References: <20150814125450.1670.49992@wrigleys.postgresql.org>
* 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