Re: pg_dump compatibility level / use create view instead of create table/rule
В списке pgsql-sql по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump compatibility level / use create view instead of create table/rule |
| Дата | |
| Msg-id | 25499.1572124689@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg_dump compatibility level / use create view instead of createtable/rule (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-sql |
Andres Freund <andres@anarazel.de> writes:
> On 2019-10-10 11:20:14 -0400, Tom Lane wrote:
>> The reason we get "REPLICA IDENTITY NOTHING" is that a view's relreplident
>> is set to 'n' not 'd', which might not have been a great choice.
> Hm, yea. I wonder if we should add a REPLICA_IDENTITY_INVALID or such,
> for non relation relkinds? I'm mildly inclined to think that setting it
> to REPLICA_IDENTITY_DEFAULT is at least as confusing as
> REPLICA_IDENTITY_DEFAULT...
Yeah, I'd be for that in HEAD probably. But of course we can't change
the 9.x branches like that.
>> This is fixed in v10 and up thanks to d8c05aff5. I was hesitant to
>> back-patch that at the time, but now that it's survived in the field
>> for a couple years, I think a good case could be made for doing so.
> +1
Just finishing up the back-patch now.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера