Shaozhong SHI <shishaozhong@gmail.com> writes:
> What do you think this attempt by using create type and create a function?
> Managing Key/Value Pairs in PostgreSQL (justatheory.com)
> <https://justatheory.com/2010/08/postgres-key-value-pairs/>
The date alone should suggest to you that there might be
better ways to do it by now.
regards, tom lane