Difference between revisions of "Connect to PostgreSQL"

From wikieduonline
Jump to navigation Jump to search
 
Line 7: Line 7:
  
 
== Related ==
 
== Related ==
* [[Extensions]]
+
* [[PostgreSQL extensions]]
  
  
 
{{psql}}
 
{{psql}}

Latest revision as of 15:17, 19 December 2024


  • createdb your-db && psql your-db


  • psql --host=mypostgresql.c6c8mwvfdgv0.us-west-2.rds.amazonaws.com --port=5432 --username=awsuser --password --dbname=mypgdb

Related[edit]


PostgreSQL: psql, .psqlrc, .pgpass, $HOME/.pg service.conf, -U, -W, -d, meta-commands: \du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q, show users, show, su - postgres, psql -c, \?, \connect, \conninfo, --version, --help, PL/pgSQL

Advertising: