Hi! Michael, what do you think of this approach (extending varatt_external) vs extending varatt itself by new tag and structure? The second approach allows more flexibility, independence of existing structure without modifying varatt_4b and is extensible further. I mentioned it above (extending the TOAST pointer), and it could be implemented more easily and in a less confusing way.
I'm +1 on storing dictionary somewhere around actual data (not necessary in the data storage area itself) but strongly against new catalog table with dictionaries - it involves a lot of side effects, including locks while working with this table resulting in performance degradation, and so on. > > -- Regards, Nikita Malakhov Postgres Professional The Russian Postgres Company https://postgrespro.ru/