| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера