Re: Create and access a dictionary type - Mailing list pgsql-general

From Tomas Vondra
Subject Re: Create and access a dictionary type
Date
Msg-id c699f135-2326-0fda-6623-850da6101bc8@enterprisedb.com
Whole thread Raw
In response to Create and access a dictionary type  (Shaozhong SHI <shishaozhong@gmail.com>)
Responses Re: Create and access a dictionary type  (Shaozhong SHI <shishaozhong@gmail.com>)
Re: Create and access a dictionary type  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
On 1/5/22 14:17, Shaozhong SHI wrote:
> Any examples in Postgres to create a dictionary type to store and access 
> key value pairs?
> 

I'd say JSONB can be used as an associative array, and e.g. in Python 
can map to dict data type.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-general by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Postgis - geography function
Next
From: Shaozhong SHI
Date:
Subject: Re: Create and access a dictionary type