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 39f8bf99-0cba-912f-8edf-40776954f631@enterprisedb.com
Whole thread Raw
In response to Re: Create and access a dictionary type  (Shaozhong SHI <shishaozhong@gmail.com>)
List pgsql-general
On 1/5/22 14:36, Shaozhong SHI wrote:
> I just checked operators.  I could not find any operator to set a new 
> value given a key.
> 

I'd say jsonb_set is what you're looking for.

Postgres does not have a thing that'd match the Oracle feature exactly, 
you'll have to adjust your application to use what's available.

regards


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



pgsql-general by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Create and access a dictionary type
Next
From: Ron
Date:
Subject: Re: Create and access a dictionary type