From: Tom Lane <tgl@sss.pgh.pa.us>
To: vozhdb@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6533: postgre server crashes by create function (create table as)
Date: Thu, 15 Mar 2012 21:55:34 -0400
Message-ID: <20869.1331862934@sss.pgh.pa.us> (raw)
In-Reply-To: <E1S8BkF-0004XZ-Tp@wrigleys.postgresql.org>
References: <E1S8BkF-0004XZ-Tp@wrigleys.postgresql.org>
vozhdb@gmail.com writes:
> The following bug has been logged on the website:
> Bug reference: 6533
> Logged by: Alex Sanin
> Email address: vozhdb@gmail.com
> PostgreSQL version: 9.0.4
> Operating system: Windows XP sp3
> Description:
> Here is the script:
This script doesn't crash for me, in HEAD or 9.0 branch tip. Given the
use of CREATE TABLE AS in a SQL function, I suspect that this is the
same issue fixed in 9.0.7:
Fix dangling pointer after CREATE TABLE AS/SELECT INTO in a SQL-language function (Tom Lane)
In most cases this only led to an assertion failure in assert-enabled builds, but worse consequences seem possible.
regards, tom lane
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, vozhdb@gmail.com
Subject: Re: BUG #6533: postgre server crashes by create function (create table as)
In-Reply-To: <20869.1331862934@sss.pgh.pa.us>
References: <E1S8BkF-0004XZ-Tp@wrigleys.postgresql.org> <20869.1331862934@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