-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgcloader.cfg
61 lines (57 loc) · 1.09 KB
/
pgcloader.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#-------------------------------------
# Bulk load example Configuration File
#-------------------------------------
#
pgcl:
{
server:
{
host = "inside";
port = 5432;
user = "maintainer";
pass = "";
database = "test";
table = "tours";
charset = "utf-8";
};
default:
{
table = "tours";
skip_head = 1;
total_rows = 1000;
transaction_limit = 1;
delimiter = ",";
fields = "17,2,3,4,1";
truncate = 1;
charset = "iso-8859-2";
errorlog = "logs/error.log";
rawlog = "logs/raw.log";
};
csv:
{
table = "tours";
skip_head = 1;
total_rows = 1000;
transaction_limit = 1;
delimiter = ",";
fields = "17,17,1";
truncate = 1;
charset = "iso-8859-2";
errorlog = "logs/error.log";
rawlog = "logs/raw.log";
};
terminy:
{
table = "tours";
skip_head = 1;
#2100000;
total_rows = 0;
transaction_limit = 100000;
delimiter = ",";
fields = "1,2,3,4,12";
truncate = 1;
charset = "iso-8859-2";
errorlog = "logs/terminy.error.log";
rawlog = "logs/terminy.raw.log";
};
};