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

Re: BUG #5950: backend terminating after altering table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "alex" <perepelica(dot)alex(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5950: backend terminating after altering table
Date: 2011-03-28 19:47:46
Message-ID: 28356.1301341666@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"alex" <perepelica(dot)alex(at)gmail(dot)com> writes:
> Such steps:
> 1. create table t (
> );
> 2. alter table t add childs t;
> 3. alter table t add id serial not null primary key;
> server closed the connection unexpectedly

Thanks for the report.  Fixed as per today's discussion (ie, disallow
creating a self-referencing rowtype).

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2011-03-28 20:01:33
Subject: Re: BUG #5946: Long exclusive lock taken by vacuum (not full)
Previous:From: Rob GrantDate: 2011-03-28 19:07:58
Subject: BUG #5955: One-click installer does not escape password

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