summaryrefslogtreecommitdiffstats
path: root/src/test/modules/test_regex/test_regex--1.0.sql
blob: 7d991537f42bf15a1dc4ba84bf0ae9a3b5aa0ca8 (plain)
1
2
3
4
5
6
7
8
9
/* 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;