mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
contrib/isn updates from Jeremy Kronuz.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/contrib/isn/isn.h,v 1.1 2006/09/09 04:07:52 tgl Exp $
|
||||
* $PostgreSQL: pgsql/contrib/isn/isn.h,v 1.2 2006/09/10 20:45:17 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -27,8 +27,8 @@ typedef uint64 ean13;
|
||||
|
||||
#define EAN13_FORMAT UINT64_FORMAT
|
||||
|
||||
#define PG_GETARG_EAN13(n) PG_GETARG_INT64(n)
|
||||
#define PG_RETURN_EAN13(x) PG_RETURN_INT64(x)
|
||||
#define PG_GETARG_EAN13(n) PG_GETARG_INT64((int64)n)
|
||||
#define PG_RETURN_EAN13(x) PG_RETURN_INT64((int64)x)
|
||||
|
||||
extern Datum isn_out(PG_FUNCTION_ARGS);
|
||||
extern Datum ean13_out(PG_FUNCTION_ARGS);
|
||||
@ -45,6 +45,10 @@ extern Datum isbn_cast_from_text(PG_FUNCTION_ARGS);
|
||||
extern Datum ismn_cast_from_text(PG_FUNCTION_ARGS);
|
||||
extern Datum issn_cast_from_text(PG_FUNCTION_ARGS);
|
||||
extern Datum upc_cast_from_text(PG_FUNCTION_ARGS);
|
||||
extern Datum isbn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum ismn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum issn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum upc_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum is_valid(PG_FUNCTION_ARGS);
|
||||
extern Datum make_valid(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user