-
Notifications
You must be signed in to change notification settings - Fork 14
/
pldotnet--0.9.sql
37 lines (29 loc) · 1.02 KB
/
pldotnet--0.9.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
\echo Use "CREATE EXTENSION pldotnet" to load this file. \quit
-- .NET C# language
CREATE FUNCTION plcsharp_call_handler()
RETURNS language_handler AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION plcsharp_inline_handler(internal)
RETURNS VOID AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION plcsharp_validator(oid)
RETURNS VOID AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE LANGUAGE plcsharp
HANDLER plcsharp_call_handler
INLINE plcsharp_inline_handler
VALIDATOR plcsharp_validator;
-- .NET F# language
CREATE FUNCTION plfsharp_call_handler()
RETURNS language_handler AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION plfsharp_inline_handler(internal)
RETURNS VOID AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE FUNCTION plfsharp_validator(oid)
RETURNS VOID AS 'MODULE_PATHNAME'
LANGUAGE C IMMUTABLE STRICT;
CREATE LANGUAGE plfsharp
HANDLER plfsharp_call_handler
INLINE plfsharp_inline_handler
VALIDATOR plfsharp_validator;