Difference between revisions of "$HOME/.pg service.conf"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
  [[touch]] .pg_service.conf
 
  [[touch]] .pg_service.conf
 
  # My comment for mydb
 
  # My comment for mydb
  [mydb]  
+
  [MyDB]  
 
  host=somehost  
 
  host=somehost  
 
  port=5433  
 
  port=5433  
 
  user=admin
 
  user=admin
 +
 +
 +
psql service=MyDB
  
  

Revision as of 08:17, 9 September 2021

touch .pg_service.conf
# My comment for mydb
[MyDB] 
host=somehost 
port=5433 
user=admin


psql service=MyDB


Related terms

See also

Advertising: