mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +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.
		
			
				
	
	
		
			8 lines
		
	
	
		
			228 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			228 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| -- Adjust this setting to control where the objects get created.
 | |
| SET search_path = public;
 | |
| 
 | |
| CREATE TRIGGER "MyTableName_Trig" 
 | |
| AFTER INSERT OR DELETE OR UPDATE ON "MyTableName"
 | |
| FOR EACH ROW EXECUTE PROCEDURE "recordchange" ();
 | |
| 
 |