Re: How best to create and use associative array type in Postgres? - Mailing list pgsql-general

From Shaozhong SHI
Subject Re: How best to create and use associative array type in Postgres?
Date
Msg-id CA+i5JwZEVzxPyMo7VEZkn+w8Kh6J5RkrF+vRd65Mf0_G1CNLzw@mail.gmail.com
Whole thread Raw
In response to Re: How best to create and use associative array type in Postgres?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: How best to create and use associative array type in Postgres?  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
Have a look at this one.


There is no documentation on how to use it.

Regards,

David

On Wed, 5 Jan 2022 at 16:24, Tom Lane <tgl@sss.pgh.pa.us> wrote:
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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Trouble DROP'ing a ROLE, despite REVOKE'ing its privileges
Next
From: Adrian Klaver
Date:
Subject: Re: How best to create and use associative array type in Postgres?