| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | "Andrey Y(dot) Mosienko" <feo(at)ttn(dot)ru> |
| Cc: | Postgres <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: INHERITS behavor |
| Date: | 2001-03-24 15:08:03 |
| Message-ID: | Pine.LNX.4.30.0103241607450.2319-100000@peter.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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 peter_e(at)gmx(dot)net http://yi.org/peter-e/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-03-24 16:18:57 | Re: Re: Call for platforms |
| Previous Message | Andrey Y. Mosienko | 2001-03-24 12:26:00 | INHERITS behavor |