6.2

Table Of Contents
6 Run the pg_is_in_recovery command to validate that the replica database is read only.
su - postgres
/opt/vmware/vpostgres/current/bin/psql vcac
SELECT pg_is_in_recovery () ;
The command returns t for true.
vcac=# SELECT pg_is_in_recovery () ;
pg_is_in_recovery
----------------------
t
(1 row)
7 Quit psql using the \q command.
System Administration
VMware, Inc. 33