2007-11-13 07:24:29 +03:00
|
|
|
/* $PostgreSQL: pgsql/contrib/spi/refint.sql.in,v 1.7 2007/11/13 04:24:28 momjian Exp $ */
|
|
|
|
|
2002-10-18 22:41:22 +04:00
|
|
|
-- Adjust this setting to control where the objects get created.
|
|
|
|
SET search_path = public;
|
2000-06-15 23:05:22 +04:00
|
|
|
|
2002-10-18 22:41:22 +04:00
|
|
|
CREATE OR REPLACE FUNCTION check_primary_key()
|
|
|
|
RETURNS trigger
|
|
|
|
AS 'MODULE_PATHNAME'
|
2006-02-27 19:09:50 +03:00
|
|
|
LANGUAGE C;
|
2002-10-18 22:41:22 +04:00
|
|
|
|
|
|
|
CREATE OR REPLACE FUNCTION check_foreign_key()
|
|
|
|
RETURNS trigger
|
|
|
|
AS 'MODULE_PATHNAME'
|
2006-02-27 19:09:50 +03:00
|
|
|
LANGUAGE C;
|