mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			159 B
		
	
	
	
		
			PL/PgSQL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			159 B
		
	
	
	
		
			PL/PgSQL
		
	
	
	
	
	
--
 | 
						|
-- init pgcrypto
 | 
						|
--
 | 
						|
 | 
						|
\set ECHO none
 | 
						|
\i pgcrypto.sql
 | 
						|
\set ECHO all
 | 
						|
 | 
						|
-- check for encoding fn's
 | 
						|
SELECT encode('foo', 'hex');
 | 
						|
SELECT decode('666f6f', 'hex');
 | 
						|
 |