mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
30 lines
939 B
MySQL
30 lines
939 B
MySQL
|
SET search_path = public;
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_client_serial() RETURNS numeric
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_client_serial';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_is_used() RETURNS boolean
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_is_used';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_client_cert_present() RETURNS boolean
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_client_cert_present';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_client_dn_field(text) RETURNS text
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_client_dn_field';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_issuer_field(text) RETURNS text
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_issuer_field';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_client_dn() RETURNS text
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_client_dn';
|
||
|
|
||
|
CREATE OR REPLACE FUNCTION ssl_issuer_dn() RETURNS text
|
||
|
LANGUAGE C STRICT
|
||
|
AS 'MODULE_PATHNAME', 'ssl_issuer_dn';
|