Re: pg_uuid_t support in contrib/btree_gist - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_uuid_t support in contrib/btree_gist
Date
Msg-id 20785.1437257519@sss.pgh.pa.us
Whole thread Raw
In response to pg_uuid_t support in contrib/btree_gist  (Jarred Ward <jarred@webriots.com>)
List pgsql-hackers
Jarred Ward <jarred@webriots.com> writes:
> pg_uuid_t is an opaque type in `src/include/utils/uuid.h'. To put this type
> in a struct for both a new uuidKEY and the gbtree_ninfo type description
> support we need the implementation of the struct that is currently hidden
> in `src/backend/utils/adt/uuid.c'.

Yeah, I'd just move it into uuid.h.  There's about 0 chance of needing
to change it, and we haven't hesitated to expose the internals of many
other data types in their respective headers.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: object_classes array is broken, again
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_resetsysid