From: pramsey@cleverelephant.ca
To: pgsql-bugs@postgresql.org
Subject: BUG #6379: SQL Function Causes Back-end Crash
Date: Wed, 04 Jan 2012 19:17:17 +0000
Message-ID: <E1RiWKr-00028P-KA@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6379
Logged by: Paul Ramsey
Email address: pramsey@cleverelephant.ca
PostgreSQL version: 9.1.2
Operating system: OSX 10.6.8
Description:
CREATE OR REPLACE FUNCTION kill_backend()
RETURNS VOID
AS $$
DROP TABLE if EXISTS foo;
CREATE TABLE foo AS SELECT * FROM pg_class LIMIT 1;
$$ LANGUAGE 'SQL';
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: pramsey@cleverelephant.ca
Subject: Re: BUG #6379: SQL Function Causes Back-end Crash
In-Reply-To: <E1RiWKr-00028P-KA@wrigleys.postgresql.org>
References: <E1RiWKr-00028P-KA@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