mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-24 01:29:19 +03:00 
			
		
		
		
	only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
		
			
				
	
	
		
			13 lines
		
	
	
		
			289 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			289 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
| -- Adjust this setting to control where the objects get created.
 | |
| SET search_path = public;
 | |
| 
 | |
| CREATE OR REPLACE FUNCTION check_primary_key()
 | |
| RETURNS trigger
 | |
| AS 'MODULE_PATHNAME'
 | |
| LANGUAGE 'C';
 | |
| 
 | |
| CREATE OR REPLACE FUNCTION check_foreign_key()
 | |
| RETURNS trigger
 | |
| AS 'MODULE_PATHNAME'
 | |
| LANGUAGE 'C';
 |