Re: [GENERAL] uuid c function contrib

2006-10-18 Thread Ron Peterson
On Wed, Oct 18, 2006 at 04:31:57PM -0400, Ron Peterson wrote: > I'm having a hard time finding any examples of functions returning > timestamps I can study to see how they are handled internally. I'm sure > it's only a line or two of code. ...I just found date.c -- Ron Peterson https://www.yel

Re: [GENERAL] uuid c function contrib

2006-10-18 Thread Ron Peterson
On Tue, Oct 17, 2006 at 09:07:08PM -0400, Ron Peterson wrote: > On Tue, Oct 17, 2006 at 03:25:05PM -0400, Ron Peterson wrote: > > > I've written some PostgreSQL C functions which expose the functionality > > of Theodore Ts'o's UUID library. % select y_uuid_time( y_uuid_generate_time() );

Re: [GENERAL] uuid c function contrib

2006-10-17 Thread Ron Peterson
On Tue, Oct 17, 2006 at 03:25:05PM -0400, Ron Peterson wrote: > I've written some PostgreSQL C functions which expose the functionality > of Theodore Ts'o's UUID library. I need to add a few sanity clauses > here and there, but working (mostly) code can be found here: > > http://www.yellowbank.c

[GENERAL] uuid c function contrib

2006-10-17 Thread Ron Peterson
Hi, I've written some PostgreSQL C functions which expose the functionality of Theodore Ts'o's UUID library. I need to add a few sanity clauses here and there, but working (mostly) code can be found here: http://www.yellowbank.com/code/PostgreSQL/uuid/ I have one problem. My y_uuid_time functi