1. Restart the VembuBDR service.
2. Open the command prompt with administrator privileges.
3. Execute the following query in the command prompt:
4. If you encounter the error "psql is not recognized as an internal or external command," set the path for the bin and lib folders in the environmental variables:
;C:\Program Files\PostgreSQL\9.6\bin ;C:\Program Files\PostgreSQL\9.6\lib
You can add these paths using the following methods:
- Use the `set PATH [the path]` command in CMD prompt.
- Navigate to Computer → Properties → Advanced System Settings → Environment Variables → System Variables, and add the paths manually. Do not replace existing paths; add these beside them.
5. After adding the environment variables, repeat Step 3. You should now be able to execute the Psql command from any location.