Search Postgresql Archives

Re: Create and access a dictionary type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just checked operators.  I could not find any operator to set a new value given a key.

Regards,

David

On Wed, 5 Jan 2022 at 13:22, Tomas Vondra <tomas.vondra@xxxxxxxxxxxxxxxx> wrote:
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux