Project

General

Profile

« Previous | Next » 

Revision 12145

fix: schemas/Makefile: %/publish: removed no longer applicable instructions about running `make schemas/rotate`. you should not publish a schema until you are satisfied that it can replace the previous public schema, so that the previous public schema doesn't need to be saved.

View differences:

trunk/schemas/Makefile
61 61
	<$< $(sed) -e 's/( )public(_[[:alnum:]_]+)?([,;]| [^[:lower:]])/\1"$*\2"\3/g'\
62 62
|$(psqlNoSearchPath) # [[:alnum:]_]+, not ...*, because public_ is a username
63 63

  
64
# **IMPORTANT**: you should not publish a schema until you are satisfied that it
65
# can replace the previous public schema, so that the previous public schema
66
# doesn't need to be saved.
64 67
%/uninstall: vegbien.sql _always
65 68
	$(call confirmRmPublicSchema,$*)
66 69
	# don't use public.rm(), because when the public schema is incompletely
......
70 73
# Replaces the current public schema with the given version
71 74
# usage: make schemas/r#/publish
72 75
%/publish: _always
73
	@$(call confirmRmPublicSchema,public,To save it: make schemas/rotate)
76
	@$(call confirmRmPublicSchema,public)
74 77
	$(psqlNoSearchPath) <<<'SELECT "$*".publish();'
75 78
	@echo $(emph)'In your shell, run:'$(endEmph)'unset version'
76 79

  

Also available in: Unified diff