feat: postgreact: hello world
This commit is contained in:
8
package/c/postgreact/postgreact--0.1.sql
Executable file
8
package/c/postgreact/postgreact--0.1.sql
Executable file
@@ -0,0 +1,8 @@
|
||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
||||
\echo Use "CREATE EXTENSION postgreact" to load this file. \quit
|
||||
|
||||
-- Define the hello function that uses our C implementation
|
||||
CREATE FUNCTION hello()
|
||||
RETURNS text
|
||||
AS 'postgreact', 'hello'
|
||||
LANGUAGE C STRICT;
|
||||
Reference in New Issue
Block a user