Project

General

Profile

« Previous | Next » 

Revision 11150

/Makefile: mk_db: config/users.sql: unset ON_ERROR_STOP so user-exists errors don't prevent further user-adds

View differences:

Makefile
263 263
ENCODING 'UTF8' LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8';"|$(psqlAsAdmin)
264 264
	-echo "CREATE EXTENSION hstore SCHEMA pg_catalog;"|$(psqlAsAdminVegbien)
265 265
	-$(asAdmin) createlang -U postgres plpython3u vegbien
266
	-cat config/users.sql|$(psqlAsAdmin)
266
	# unset ON_ERROR_STOP so user-exists errors don't prevent further user-adds
267
	-cat config/users.sql|$(psqlAsAdmin) --set ON_ERROR_STOP
267 268
# ignore errors if user/database/etc. exists
268 269

  
269 270
rm_initial_public: _always

Also available in: Unified diff