CREATE FUNCTION ean13_in(cstring)
RETURNS ean13
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION ean13_out(ean13)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE ean13 (
INPUT = ean13_in,
CREATE FUNCTION isbn13_in(cstring)
RETURNS isbn13
AS 'MODULE_PATHNAME', 'isbn_in'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION ean13_out(isbn13)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE isbn13 (
INPUT = isbn13_in,
CREATE FUNCTION ismn13_in(cstring)
RETURNS ismn13
AS 'MODULE_PATHNAME', 'ismn_in'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION ean13_out(ismn13)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE ismn13 (
INPUT = ismn13_in,
CREATE FUNCTION issn13_in(cstring)
RETURNS issn13
AS 'MODULE_PATHNAME', 'issn_in'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION ean13_out(issn13)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE issn13 (
INPUT = issn13_in,
CREATE FUNCTION isbn_in(cstring)
RETURNS isbn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION isn_out(isbn)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE isbn (
INPUT = isbn_in,
CREATE FUNCTION ismn_in(cstring)
RETURNS ismn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION isn_out(ismn)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE ismn (
INPUT = ismn_in,
CREATE FUNCTION issn_in(cstring)
RETURNS issn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION isn_out(issn)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE issn (
INPUT = issn_in,
CREATE FUNCTION upc_in(cstring)
RETURNS upc
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION isn_out(upc)
RETURNS cstring
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE TYPE upc (
INPUT = upc_in,
CREATE FUNCTION isbn13(ean13)
RETURNS isbn13
AS 'MODULE_PATHNAME', 'isbn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION ismn13(ean13)
RETURNS ismn13
AS 'MODULE_PATHNAME', 'ismn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION issn13(ean13)
RETURNS issn13
AS 'MODULE_PATHNAME', 'issn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION isbn(ean13)
RETURNS isbn
AS 'MODULE_PATHNAME', 'isbn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION ismn(ean13)
RETURNS ismn
AS 'MODULE_PATHNAME', 'ismn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION issn(ean13)
RETURNS issn
AS 'MODULE_PATHNAME', 'issn_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION upc(ean13)
RETURNS upc
AS 'MODULE_PATHNAME', 'upc_cast_from_ean13'
-LANGUAGE 'C' IMMUTABLE STRICT;
+LANGUAGE C IMMUTABLE STRICT;
CREATE CAST (ean13 AS isbn13) WITH FUNCTION isbn13(ean13);
CREATE FUNCTION make_valid(ean13)
RETURNS ean13
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(isbn13)
RETURNS isbn13
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(ismn13)
RETURNS ismn13
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(issn13)
RETURNS issn13
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(isbn)
RETURNS isbn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(ismn)
RETURNS ismn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(issn)
RETURNS issn
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION make_valid(upc)
RETURNS upc
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(ean13)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(isbn13)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(ismn13)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(issn13)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(isbn)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(ismn)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(issn)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
CREATE FUNCTION is_valid(upc)
RETURNS boolean
AS 'MODULE_PATHNAME'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
--
CREATE FUNCTION isn_weak(boolean)
RETURNS boolean
AS 'MODULE_PATHNAME', 'accept_weak_input'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;
--
CREATE FUNCTION isn_weak()
RETURNS boolean
AS 'MODULE_PATHNAME', 'weak_input_status'
- LANGUAGE 'C'
+ LANGUAGE C
IMMUTABLE STRICT;