Project

General

Profile

« Previous | Next » 

Revision 10124

lib/common.Makefile: added $(psqlOpts), $(psqlAsAdmin)

View differences:

lib/common.Makefile
88 88

  
89 89
# DB
90 90
asAdmin := sudo -E -u postgres
91
psqlOpts := --set ON_ERROR_STOP=1 --quiet
92
psqlAsAdmin := $(asAdmin) psql $(psqlOpts)
93
    # -E preserves env vars so PGOPTIONS is passed to psql
91 94
mkSchemaCmd = 'CREATE SCHEMA $(1);'
92 95
rmSchemaCmd = 'DROP SCHEMA IF EXISTS "$(1)" CASCADE;'
93 96

  

Also available in: Unified diff