INHERITS behavor

From: "Andrey Y(dot) Mosienko" <feo(at)ttn(dot)ru>
To: Postgres <pgsql-general(at)postgresql(dot)org>
Subject: INHERITS behavor
Date: 2001-03-24 12:26:00
Message-ID: 3ABC9258.BAB3B5F8@ttn.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ttn(dot)ru, feo(at)feo(dot)org(dot)ru
ICQ: 28073807

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-24 15:08:03 Re: INHERITS behavor
Previous Message Richard Huxton 2001-03-24 11:06:23 Re: Database shutdown