Re: How best to create and use associative array type in Postgres?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How best to create and use associative array type in Postgres?
Date: 2022-01-05 16:24:16
Message-ID: 299857.1641399856@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shaozhong SHI <shishaozhong(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2022-01-05 16:24:47 Re: Create and access a dictionary type
Previous Message Shaozhong SHI 2022-01-05 16:11:28 Re: How best to create and use associative array type in Postgres?