summaryrefslogtreecommitdiffstats
path: root/contrib/spi/insert_username--1.0.sql
blob: 0deb0bf3f8be5a4ba124873e5898b9527354cf04 (plain)
1
2
3
4
5
6
7
8
9
/* contrib/spi/insert_username--1.0.sql */

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION insert_username" to load this file. \quit

CREATE FUNCTION insert_username()
RETURNS trigger
AS 'MODULE_PATHNAME'
LANGUAGE C;