Re: inherited tables failure - Mailing list pgsql-bugs

From Tom Lane
Subject Re: inherited tables failure
Date
Msg-id 16148.997991888@sss.pgh.pa.us
Whole thread Raw
In response to inherited tables failure  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Long Description
> We have two tables inherited one from the other one. If you try to insert from the parent into the child by an
"INSERTINTO" statement then the record is inserted into the child but into the parent too! Therefore in the parent
duplicatedrows appear.  
> The other bug is if you delete a row from the parent then it erases from the child too. see the illustration below.

This is not a bug; it's the way things are supposed to work in 7.1.
"*" is now the default behavior.  Use ONLY if you want to restrict
scans or updates to the parent table.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: inherited tables failure
Next
From: Tom Lane
Date:
Subject: Re: Using nulls with earthdistance operator crashes backend (patch)