feat: postgreact: hello world

This commit is contained in:
2025-04-15 18:23:42 +00:00
parent 1612799fb7
commit e607bf09fa
16 changed files with 193 additions and 7295 deletions

View 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;