mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Don't quote language name
Same as previous patch, but give it actual thought this time
This commit is contained in:
parent
b44dda7158
commit
ef27c81d89
@ -18,12 +18,12 @@
|
||||
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,
|
||||
@ -36,12 +36,12 @@ COMMENT ON TYPE ean13
|
||||
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,
|
||||
@ -54,12 +54,12 @@ COMMENT ON TYPE isbn13
|
||||
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,
|
||||
@ -72,12 +72,12 @@ COMMENT ON TYPE ismn13
|
||||
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,
|
||||
@ -92,12 +92,12 @@ COMMENT ON TYPE issn13
|
||||
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,
|
||||
@ -110,12 +110,12 @@ COMMENT ON TYPE isbn
|
||||
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,
|
||||
@ -128,12 +128,12 @@ COMMENT ON TYPE ismn
|
||||
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,
|
||||
@ -146,12 +146,12 @@ COMMENT ON TYPE issn
|
||||
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,
|
||||
@ -3041,31 +3041,31 @@ ALTER OPERATOR FAMILY isn_ops USING hash ADD
|
||||
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);
|
||||
@ -3097,83 +3097,83 @@ CREATE CAST (issn13 AS issn) WITHOUT FUNCTION AS ASSIGNMENT;
|
||||
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;
|
||||
|
||||
--
|
||||
@ -3183,7 +3183,7 @@ CREATE FUNCTION is_valid(upc)
|
||||
CREATE FUNCTION isn_weak(boolean)
|
||||
RETURNS boolean
|
||||
AS 'MODULE_PATHNAME', 'accept_weak_input'
|
||||
LANGUAGE 'C'
|
||||
LANGUAGE C
|
||||
IMMUTABLE STRICT;
|
||||
|
||||
--
|
||||
@ -3192,5 +3192,5 @@ CREATE FUNCTION isn_weak(boolean)
|
||||
CREATE FUNCTION isn_weak()
|
||||
RETURNS boolean
|
||||
AS 'MODULE_PATHNAME', 'weak_input_status'
|
||||
LANGUAGE 'C'
|
||||
LANGUAGE C
|
||||
IMMUTABLE STRICT;
|
||||
|
@ -61,7 +61,7 @@ LANGUAGE C IMMUTABLE STRICT;
|
||||
CREATE FUNCTION gen_random_bytes(int4)
|
||||
RETURNS bytea
|
||||
AS 'MODULE_PATHNAME', 'pg_random_bytes'
|
||||
LANGUAGE 'C' VOLATILE STRICT;
|
||||
LANGUAGE C VOLATILE STRICT;
|
||||
|
||||
--
|
||||
-- pgp_sym_encrypt(data, key)
|
||||
|
Loading…
Reference in New Issue
Block a user