Andrey Y. Mosienko writes:

> 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?

http://www.postgresql.org/devel-corner/docs/postgres/inherit.html

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to