Re: pg_migrator versus inherited columns - Mailing list pgsql-hackers

From Greg Stark
Subject Re: pg_migrator versus inherited columns
Date
Msg-id 407d949e0907011751g170cc2ffrc6abf782de85c7e@mail.gmail.com
Whole thread Raw
In response to Re: pg_migrator versus inherited columns  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Jul 2, 2009 at 1:25 AM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
>
> Hmm, 8.3 doesn't seem to recognize the syntax:
>
> regression=# alter table c add inherit p;
> ERROR:  type "p" does not exist
> LINE 1: alter table c add inherit p;
>                                  ^

Oh I remember being caught by this myself. The above is trying to add
a new column named "inherit". The syntax to add an inheritance parent
is just "alter table c inherit p"


--
greg
http://mit.edu/~gsstark/resume.pdf


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: single bit integer (TINYINT) revisited for 8.5
Next
From: Bruce Momjian
Date:
Subject: Re: Query progress indication - an implementation