| От | Tom Lane |
|---|---|
| Тема | Re: Disallow unique index on system columns |
| Дата | |
| Msg-id | 24896.1460823214@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Disallow unique index on system columns (David Rowley <david.rowley@2ndquadrant.com>) |
| Ответы |
Re: Disallow unique index on system columns
|
| Список | pgsql-hackers |
David Rowley <david.rowley@2ndquadrant.com> writes:
> On 15 April 2016 at 13:43, David Rowley <david.rowley@2ndquadrant.com> wrote:
>> The attached patch just disallows any index containing a system
>> column, apart from OID.
> Seems I only did half the job as I forgot to think to check for system
> columns that are hidden away inside expressions or predicates.
> The attached fixes that.
Pushed. I moved the check into DefineIndex, as that's where user-facing
complaints about indexes generally ought to be.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера