I am trying to create a PG database at the specified location. According to the docs here , I have to use the LOCATION flag. However, when I run CREATE DATABASE (from the pgsql CLI) , I get the following warning:
WARNING: LOCATION is not supported anymore HINT: Consider using tablespaces instead.
However, PG's TABLESPACES documentation does not show how it can be used to create a database in a specific directory. What is the required syntax for this?
Homunculus reticulli
source share