Project

General

Profile

« Previous | Next » 

Revision 6920

schemas/Makefile: Installation: public: public%/install: Add a comment on the schema containing the versioned schema name, so that if the schema is later renamed to just public (i.e. "published" as the current version), it will still be possible to tell which version the public schema came from

View differences:

Makefile
45 45

  
46 46
# Installs a version of the public schema
47 47
public%/install: vegbien.sql _always
48
	echo $(call mkSchemaCmd,$(@D))|$(psqlNoSearchPath)
48
	echo $(call mkSchemaCmd,$(@D))\
49
"COMMENT ON SCHEMA $(@D) IS 'Version: $(@D)';"|$(psqlNoSearchPath)
49 50
	<$< $(sed) 's/( )public([,; ])/\1$(@D)\2/g'|$(psqlNoSearchPath)
50 51

  
51 52
public/uninstall: _always

Also available in: Unified diff