SHARE
TWEET

Untitled

a guest Jun 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. psql -f thefile.sql targetdatabase
  2.      
  3. db=# i or include filename
  4.      
  5. psql -h localhost -d userstoreis -U admin -p 5432 -a -q -f /home/jobs/Desktop/resources/postgresql.sql
  6.      
  7. -h PostgreSQL server IP address
  8. -d database name
  9. -U user name
  10. -p port which PostgreSQL server is listening on
  11. -f path to SQL script
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top