Is there a method for having unix env variables incorporated into a psql sql statement?
Ie
Export var=’dev’
Psql =c ‘select count(*) from $var.customer;’
Doug Little
Sr. Data Warehouse Architect | Business Intelligence Architecture | Orbitz Worldwide
500 W. Madison, Suite 1000 Chicago IL 60661| Office 312.260.2588 | Fax 312.894.5164 | Cell 847-997-5741
Douglas.Little@orbitz.com
orbitz.com | ebookers.com | hotelclub.com | cheaptickets.com | ratestogo.com | asiahotels.com
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных