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.
		
			
				
	
	
		
			11 lines
		
	
	
		
			342 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			342 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
| -- SQL for XML parser
 | |
| 
 | |
| -- Adjust this setting to control where the objects get created.
 | |
| SET search_path TO public;
 | |
| 
 | |
| CREATE OR REPLACE FUNCTION pgxml_parse(text) RETURNS boolean
 | |
|     AS 'MODULE_PATHNAME' LANGUAGE c STRICT;
 | |
| 
 | |
| CREATE OR REPLACE FUNCTION pgxml_xpath(text, text, text, text) RETURNS text
 | |
|     AS 'MODULE_PATHNAME' LANGUAGE c STRICT;
 |