10 lines
323 B
SQL
10 lines
323 B
SQL
/* src/test/modules/test_regex/test_regex--1.0.sql */
|
|
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
|
\echo Use "CREATE EXTENSION test_regex" to load this file. \quit
|
|
|
|
CREATE FUNCTION test_regex(pattern text, string text, flags text)
|
|
RETURNS SETOF text[]
|
|
STRICT
|
|
AS 'MODULE_PATHNAME' LANGUAGE C;
|