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

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

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