mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Change libpgeasy to take dbname at end like all other interfaces.
This commit is contained in:
		@@ -42,11 +42,11 @@ static int	tuple;
 | 
			
		||||
**
 | 
			
		||||
*/
 | 
			
		||||
PGconn *
 | 
			
		||||
connectdb(char *dbName,
 | 
			
		||||
		  char *pghost,
 | 
			
		||||
connectdb(char *pghost,
 | 
			
		||||
		  char *pgport,
 | 
			
		||||
		  char *pgoptions,
 | 
			
		||||
		  char *pgtty)
 | 
			
		||||
		  char *pgtty,
 | 
			
		||||
		  char *dbName)
 | 
			
		||||
{
 | 
			
		||||
	/* make a connection to the database */
 | 
			
		||||
	conn = PQsetdb(pghost, pgport, pgoptions, pgtty, dbName);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user