Files
util.nix/package/c/postgreact/postgreact--0.1.sql
2025-04-15 20:05:53 +00:00

9 lines
290 B
SQL
Executable File

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