connect cluster - pgrecm/RECM GitHub Wiki

Home - Top

Connect to a PostgreSQL cluster. If you are already connected, the previous connection is automatically close. (See also command 'connect target' )

Option/Qualifier

/host="..." Hostname or host IP to connect to.
/port=nnn PostgresSQL listen port number
/usr="..." User to connect to (must be SUPERUSER)
/pwd="..." Password associated
/db="..." Deposit Database name.

Requirement

The PostgreSQL configuration parameter 'cluster_name' must be set.

Example

CLU12> connect cluster /host=192.168.1.62/port=5432/usr=postgres/pwd=########/db=postgres; 
recm-inf: Connected to cluster 'CLU12'

CLU12>   
⚠️ **GitHub.com Fallback** ⚠️