Re: Do PostgreSQL have map and set structure(like STL in C++)?

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Do PostgreSQL have map and set structure(like STL in C++)?
Дата
Msg-id alpine.DEB.2.21.1904211918230.29102@lancre
обсуждение исходный текст
Ответ на Do PostgreSQL have map and set structure(like STL in C++)?  ("梦旅人" <liubaozhu1258@qq.com>)
Список pgsql-hackers
Hello,

> I want to add a feature in PostgreSQL, and I need use map structure and 
> set structure(like STL in C++). Do PostgreSQL have realized these 
> structures? Where can I find the functions? What I need in the code is 
> just like this: map<char*, set<char*>>, set<char*>

You are looking for a hash table, see under "src/backend/utils/hash/".

-- 
Fabien.



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

Предыдущее
От: Andrey Borodin
Дата:
Сообщение: Re: Global snapshots
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: Do PostgreSQL have map and set structure(like STL in C++)?