Re: Custom Data Type Question - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Custom Data Type Question
Date
Msg-id 455C6F10.700@dunslane.net
Whole thread Raw
In response to Re: Custom Data Type Question  (Greg Mitchell <gmitchell@atdesk.com>)
List pgsql-hackers
Greg Mitchell wrote:
>
>
>
> Also, are there any ADTs like a hash-map or tree-map in the server
> libraries (my background is C++ and am use to having std::map<>) or do I
> need to role my  own?
>
>

Look at the dynahash code. I just used it for the first time in a plperl 
patch, and it's reasonably straightforward.

cheers

andrew



pgsql-hackers by date:

Previous
From: Greg Mitchell
Date:
Subject: Re: Custom Data Type Question
Next
From: Tom Lane
Date:
Subject: Re: Custom Data Type Question