Re: inherited tables failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inherited tables failure
Дата
Msg-id 16148.997991888@sss.pgh.pa.us
обсуждение исходный текст
Ответ на inherited tables failure  (pgsql-bugs@postgresql.org)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: inherited tables failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using nulls with earthdistance operator crashes backend (patch)