Project

General

Profile

« Previous | Next » 

Revision 10579

bin/import_all: use column-based import (by_col=1) by default, instead of requiring the user to explicitly specify it. instead turn it off explicitly (by_col=) for row-based import.

View differences:

bin/import_all
13 13
        return 2
14 14
    fi
15 15
    : ${version=$(make -s version)}
16
    local full_import=1
17
    export version full_import
16
    local by_col=${by_col-1} full_import=1
17
    export version by_col full_import
18 18
    
19 19
    make schemas/$version/install
20 20
    
README.TXT
115 115
	set -o ignoreeof #prevent Ctrl+D from exiting `screen` to keep attached jobs
116 116
	unset TMOUT # TMOUT causes screen to exit even with background processes
117 117
	unset version
118
	Start column-based import: . bin/import_all by_col=1
119
		To use row-based import: . bin/import_all
118
	Start column-based import: . bin/import_all
119
		To use row-based import: . bin/import_all by_col=
120 120
		To stop all running imports: . bin/stop_imports
121 121
		WARNING: Do NOT run import_all in the background, or the jobs it creates
122 122
			won't be owned by your shell.

Also available in: Unified diff