PostgreSQL Cluster is nothing but another instance of Database.
Syntax:
initDB -D <direcoty>
Example:
step 1: create directory for table.
mkdir mynewtable-space
step 2: initDB -D /mynewtable-space
Note: now mynewtable-space folder will have all executable(like pg_ctl) and newly created config files for now cluster. here we can change port for new cluster and other configuration.
also see below
No comments:
Post a Comment