PostgreSQL provides a startup file called
.psqrc, which determines the behavior of the
psql interactive command-line client. Just like
bashrc, the psql client utility attempts to read and execute commands from the system-wide psqlrc file and the user's
~/.psqlrc file before starting up. In this recipe, you will learn how you can use your own
.psqlrc configuration file to configure your OpenShift application psql shell.
To complete this recipe, you will need an application with the PostgreSQL cartridge. Please refer to the Adding the PostgreSQL cartridge to your application recipe in this chapter to learn how to install the PostgreSQL cartridge. ...