Hi Matthias, > > Although there is also a high-level idea (according to the > > presentations) to share common data between different TOASTed values, > > similarly to what compression dictionaries do, by looking at the > > current feedback and considering the overall complexity and the amount > > of open questions (e.g. interaction with different TableAMs, etc), I > > seriously doubt that this particular part of "pluggable TOASTer" will > > end-up in the core. > > Yes, and that's why I think that this where this dictionary > infrastructure could provide value, as an alternative or extension to > the proposed jsonb toaster in the 'pluggable toaster' thread.
OK, I see your point now. And I think this is a very good point. Basing "Compression dictionaries" on the API provided by "pluggable TOASTer" can also be less hacky than what I'm currently doing with `typmod` argument. I'm going to switch the implementation at some point, unless anyone will object to the idea. -- Best regards, Aleksander Alekseev