Project

General

Profile

« Previous | Next » 

Revision 5457

Makefile, input.Makefile: Use new $(version), which unlike $(date) also includes the svn revision, to version log files, etc. This way, the working copy can be put back to the way it was at the time of a given import (excluding changes to nonversioned files). This also makes it easier to get all the log files for a particular import when different tables' imports started at different times.

View differences:

Makefile
224 224

  
225 225
schemas/rotate: _always schemas/rotate-only schemas/public/install ;
226 226
schemas/rotate-only: _always
227
	echo 'ALTER SCHEMA public RENAME TO "public.$(date)";'|$(psqlAsBien)
227
	echo 'ALTER SCHEMA public RENAME TO "public.$(version)";'|$(psqlAsBien)
228 228

  
229 229
### py_functions
230 230

  

Also available in: Unified diff