Guest User

Untitled

a guest
Nov 8th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. su _postgresql -c "cd /var/postgresql &&
  2. pg_upgrade --link -b /usr/local/bin/postgresql-9.6/ -B /usr/local/bin
  3. -U postgres -d /var/postgresql/data-9.6/ -D /var/postgresql/data"
  4.  
  5. CREATE TABLESPACE "mydb" OWNER "mydb" LOCATION '/path/to/postgresql/mydb'; psql:pg_upgrade_dump_globals.sql:87: ERROR: directory "/path/to/postgresql/mydb/PG_10_201707211" already in use as a tablespace
  6.  
  7. [root@host:~]$ls /path/to/postgresql/dnslog/
  8. PG_10_201707211 PG_9.6_201608131
Add Comment
Please, Sign In to add comment