| От | Tom Lane |
|---|---|
| Тема | Re: Cannot convert partitioned table to a view |
| Дата | |
| Msg-id | 2662605.1665064930@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Cannot convert partitioned table to a view (Kouber Saparev <kouber@gmail.com>) |
| Ответы |
Re: Cannot convert partitioned table to a view
|
| Список | pgsql-general |
Kouber Saparev <kouber@gmail.com> writes:
> I noticed that attaching the "_RETURN" rule to a table converts it to a
> view, and the operation is irreversible, i.e. once attached, I cannot drop
> the rule and put the relation back to a table one.
That is an ancient backwards-compatibility hack that you should not
rely on, and most certainly shouldn't try to make use of from user
code. It exists because very ancient versions of pg_dump didn't
know how to dump views as views. We're more likely to rip it out
as no-longer-needed than to expand what it does.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера