Re: pg_uuid_t support in contrib/btree_gist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jarred Ward <jarred(at)webriots(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_uuid_t support in contrib/btree_gist
Date: 2015-07-18 22:11:59
Message-ID: 20785.1437257519@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jarred Ward <jarred(at)webriots(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-07-18 23:40:20 Re: pg_resetsysid
Previous Message Jarred Ward 2015-07-18 20:54:51 pg_uuid_t support in contrib/btree_gist