Re: Create and access a dictionary type

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Create and access a dictionary type
Дата
Msg-id def33987-b02b-c87d-f854-444989b80610@gmail.com
обсуждение исходный текст
Ответ на Re: Create and access a dictionary type  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Ответы Re: Create and access a dictionary type
Список pgsql-general
On 1/5/22 7:22 AM, Tomas Vondra 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.

The question confuses me.  Why isn't "create a table with Primary Key" the 
answer to "Any examples in Postgres to create a dictionary type to store and 
access key value pairs?"

-- 
Angular momentum makes the world go 'round.



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How best to create and use associative array type in Postgres?
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Create and access a dictionary type