May. 25th, 2016

nataraj: (Бритый небритый)
It seems to me that I found a bug in current implementation of reloptions: When you are creating a custom index with it's own reloptions, you have no ways to prevent it from changing using ALTER INDEX .... SET (op=value);
For example if you do for bloom index
alter index bloomidx set ( length=15 );

postgres will successfully run this, change the value of reloptions attribute in pg_class, and bloom index will work wrong after it.
And there is no way to forbid this from inside of an extension.

I think I would add there a flag in reloption descriptor that will tell whether it is allowed to change this reloption using ALTER INDEX, or not
nataraj: (Бритый небритый)
В попытке починить телефон, сломал донорный экран.
Был не внимателен при прикленивании, шлейф оказался вытащен не на полную длинну и зажат между рамкой и экраном.
Отклеивание же приводит к уничтожению экрана...
Обидно очень...

Но есть еще второй...

Profile

nataraj: (Default)
Swami Dhyan Nataraj

July 2024

S M T W T F S
 123456
789 10111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 11th, 2026 07:53 pm
Powered by Dreamwidth Studios