ENVIRONMENT VARIABLES IN PostgreSQL:
ENVIRONMENT VARIABLES IN PostgreSQL: These are useful to avoid hard-coding database connection information into simple client applications, for example. To start a PostgreSQL server, you can run the following command:
1 |
[postgres@postgres1 ~]$ /usr/local/pgsql/bin/pg_ctl –D /u01/data start |
However, you can also use an environmental variable to create a shortcut for this… Read More