Skip site navigation (1) Skip section navigation (2)

Re: BUG #6533: postgre server crashes by create function (create table as)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vozhdb(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6533: postgre server crashes by create function (create table as)
Date: 2012-03-16 01:55:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
vozhdb(at)gmail(dot)com writes:
> The following bug has been logged on the website:
> Bug reference:      6533
> Logged by:          Alex Sanin
> Email address:      vozhdb(at)gmail(dot)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

In response to

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2012-03-16 09:45:36
Subject: Re: Re: [PATCH] Use CC atomic builtins if available [was: Re: TAS patch for building on armel/armhf thumb]
Previous:From: Bruce MomjianDate: 2012-03-15 22:13:51
Subject: Re: BUG #6511: calling spi_exec_query from non-main package, results in: couldn't fetch $_TD

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group