INHERITS behavor

Поиск
Список
Период
Сортировка
От Andrey Y. Mosienko
Тема INHERITS behavor
Дата
Msg-id 3ABC9258.BAB3B5F8@ttn.ru
обсуждение исходный текст
Ответы Re: INHERITS behavor
Список pgsql-general
I am using PGSQL 7.1RC1.

CREATE TABLE "test" (
   "id" int4 DEFAULT nextval('"test_id_seq"'::text) NOT NULL,
   "val" int4,
   CONSTRAINT "test_pkey" PRIMARY KEY ("id")
);

CREATE TABLE test_1 (
) INHERITS (test);

Do:
INSERT INTO "test_1" ("id", "val") VALUES ('2', '2')

The same record appears in test!!!!

Why? When I used 7.0.3 there was no such thing!

How can I get old behavor?

--
with respection Andrey Feofilactovich.
e-mail: feo@ttn.ru, feo@feo.org.ru
ICQ: 28073807

В списке pgsql-general по дате отправления:

Предыдущее
От: Stephen Davies
Дата:
Сообщение: Re: Null records inserted
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: from string to table...?