Project

General

Profile

« Previous | Next » 

Revision 13013

/Makefile: $(postgresReload-*): use postgres_restart for the postgres-restarting step

View differences:

Makefile
184 184
$(asAdmin) cp --preserve=timestamps schemas/postgresql.conf $(linuxPostgresDir)/postgresql.conf
185 185
-$(asAdmin) mv -n $(linuxPostgresDir)/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf.old
186 186
$(asAdmin) cp --preserve=timestamps schemas/pg_hba.conf $(linuxPostgresDir)/pg_hba.conf
187
@echo $(emph)'restart PostgreSQL manually:'$(endEmph)
188
@echo $(call pg_ctl-Linux,restart)
187
$(MAKE) postgres_restart-$(os)
189 188
@$(wait)
190 189

  
191 190
endef
......
199 198
$(asAdmin) cp schemas/pg_hba.Mac.conf $(macPostgresDir)/data/pg_hba.conf
200 199
-$(asAdmin) mv -n $(macPostgresDir)/data/pg_ident.conf $(macPostgresDir)/data/pg_ident.conf.old
201 200
$(asAdmin) cp schemas/pg_ident.Mac.conf $(macPostgresDir)/data/pg_ident.conf
202
$(call pg_ctl-Darwin,restart)
201
$(MAKE) postgres_restart-$(os)
203 202

  
204 203
endef
205 204

  

Also available in: Unified diff