mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-12-02 12:17:34 +08:00
10 lines
249 B
SQL
10 lines
249 B
SQL
/* 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;
|