Обсуждение: Table definition <-> parsing INHERITS()

Поиск
Список
Период
Сортировка

Table definition <-> parsing INHERITS()

От
Jean-Michel POURE
Дата:
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()

От
Andreas Pflug
Дата:
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)