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

Re: [PATCHES] Cascaded Column Drop

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tim Knowles <tim(at)ametco(dot)co(dot)uk>,PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Cascaded Column Drop
Date: 2002-09-29 02:50:32
Message-ID: 1033267833.41857.284.camel@jester (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
> regression=# create table foo ();
> ERROR:  DefineRelation: please inherit from a relation or define an attribute
> 
> at least as far as the backend goes.

Found in relcache.c earlier:
	AssertArg(natts > 0);

Didn't look too hard to see what it protects, because it's more effort
than it's worth.

-- 
  Rod Taylor


In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2002-09-29 02:56:04
Subject: Re: Default privileges for new databases (was Re: Can't import large objects in most recent cvs)
Previous:From: Bruce MomjianDate: 2002-09-29 02:47:42
Subject: Re: Default privileges for new databases (was Re: Can't import

pgsql-patches by date

Next:From: Tom LaneDate: 2002-09-29 02:58:33
Subject: Re: [PATCHES] Cascaded Column Drop
Previous:From: Tom LaneDate: 2002-09-29 02:41:50
Subject: Re: [PATCHES] Cascaded Column Drop

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