File: cube.ini

package info (click to toggle)
skytools 2.1.8-2.2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,980 kB
  • ctags: 1,543
  • sloc: sql: 6,635; python: 6,237; ansic: 2,799; makefile: 308; sh: 268
file content (18 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[cube_dispatcher]
job_name          = cube_test

src_db            = dbname=scriptsrc
dst_db            = dbname=scriptdst

pgq_queue_name    = data.middle

logfile           = sys/%(job_name)s.log
pidfile           = sys/%(job_name)s.pid

# how many rows are kept: keep_latest, keep_all
mode = keep_latest

part_template = 
	create table _DEST_TABLE (like _PARENT);
	alter table only _DEST_TABLE add primary key (_PKEY);