Search Postgresql Archives

Re: How to make a map in pg kernel?

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

 



Hello,

On Thu, 5 Oct 2023 at 16:42, jacktby jacktby <jacktby@xxxxxxxxx> wrote:
>
> Hi, I’m writing some kernel codes in pg15, and now I need to make a map struct, I know c-lang doesn’t support this, so does pg support an internal struct? Hopefully your replies.

PostgreSQL has hash tables:
https://github.com/postgres/postgres/blob/REL_16_0/src/include/utils/hsearch.h
This is not exactly a map struct. But it might be suitable for your case.

-- 
Artur






[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