Tag Archives: postgres

Postgres database on a separate drive

In psql: CREATE TABLESPACE mytablespace LOCATION ‘/Volumes/MyVolume/postgres’; CREATE DATABASE mydatabase TABLESPACE mytablespace; Kudos to GregHNZ for posting this on StackOverflow.

Posted in How to’s | Tagged , | Leave a comment