mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	dblink now has its own validator function dblink_fdw_validator(), which is better than the core function postgresql_fdw_validator() because it gets the list of legal options from libpq instead of having a hard-wired list. Make the dblink extension module provide a standard foreign data wrapper dblink_fdw that encapsulates use of this validator, and recommend use of that wrapper instead of making up wrappers on the fly. Unfortunately, because ad-hoc wrappers *were* recommended practice previously, it's not clear when we can get rid of postgresql_fdw_validator without causing upgrade problems. But this is a step in the right direction. Shigeru Hanada, reviewed by KaiGai Kohei
		
			
				
	
	
		
			6 lines
		
	
	
		
			170 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			170 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # dblink extension
 | |
| comment = 'connect to other PostgreSQL databases from within a database'
 | |
| default_version = '1.1'
 | |
| module_pathname = '$libdir/dblink'
 | |
| relocatable = true
 |