Thread: Table definition <-> parsing INHERITS()

Table definition <-> parsing INHERITS()

From
Jean-Michel POURE
Date:
Dear all,

Table definition displays INHERITS () in its definition.

CREATE TABLE public.foo
(
  etc...
) INHERITS () WITH OIDS;

The parser does not seem to understand INHERITS(). Maybe my parser is too old?

Cheers,
Jean-Michel

Re: Table definition <-> parsing INHERITS()

From
Andreas Pflug
Date:
Jean-Michel POURE wrote:

>Dear all,
>
>Table definition displays INHERITS () in its definition.
>
>CREATE TABLE public.foo
>(
>  etc...
>) INHERITS () WITH OIDS;
>
>The parser does not seem to understand INHERITS(). Maybe my parser is too old?
>
>
>
Fixed; inheritedTablesCount was wrong.
In general, inheritance isn't tested (and not implemented in CreateTable
either)