mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
General trigger functions for referential integrity.
This commit is contained in:
14
contrib/spi/refint.source
Normal file
14
contrib/spi/refint.source
Normal file
@ -0,0 +1,14 @@
|
||||
DROP FUNCTION check_primary_key ();
|
||||
DROP FUNCTION check_foreign_key ();
|
||||
|
||||
CREATE FUNCTION check_primary_key ()
|
||||
RETURNS opaque
|
||||
AS '_OBJWD_/refint_DLSUFFIX_'
|
||||
LANGUAGE 'c'
|
||||
;
|
||||
|
||||
CREATE FUNCTION check_foreign_key ()
|
||||
RETURNS opaque
|
||||
AS '_OBJWD_/refint_DLSUFFIX_'
|
||||
LANGUAGE 'c'
|
||||
;
|
Reference in New Issue
Block a user