mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Add a new builtin type, "uuid". This implements a UUID type, similar to
that defined in RFC 4122. This patch includes the basic implementation, plus regression tests. Documentation and perhaps some additional functionality will come later. Catversion bumped. Patch from Gevik Babakhani; review from Peter, Tom, and myself.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.286 2007/01/16 21:41:14 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.287 2007/01/28 16:16:54 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -926,4 +926,20 @@ extern Datum pg_prepared_statement(PG_FUNCTION_ARGS);
|
||||
/* utils/mmgr/portalmem.c */
|
||||
extern Datum pg_cursor(PG_FUNCTION_ARGS);
|
||||
|
||||
/* uuid.c */
|
||||
extern Datum uuid_in(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_out(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_send(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_recv(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_lt(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_le(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_eq(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_ge(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_gt(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_ne(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_cmp(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_hash(PG_FUNCTION_ARGS);
|
||||
extern Datum text_uuid(PG_FUNCTION_ARGS);
|
||||
extern Datum uuid_text(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif /* BUILTINS_H */
|
||||
|
Reference in New Issue
Block a user