mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-10 00:07:00 +02:00
144 lines
2.9 KiB
Plaintext
144 lines
2.9 KiB
Plaintext
[pgsql]
|
||
base = pgloader
|
||
|
||
log_file = /tmp/pgloader.log
|
||
log_min_messages = DEBUG
|
||
client_min_messages = WARNING
|
||
|
||
;client_encoding = 'utf-8'
|
||
client_encoding = 'latin1'
|
||
lc_messages = C
|
||
;pg_option_client_encoding = 'utf-8'
|
||
pg_option_standard_conforming_strings = on
|
||
; This setting has no effect other than allowing to check option precedence
|
||
pg_option_work_mem = 12MB
|
||
|
||
copy_every = 5
|
||
commit_every = 5
|
||
#copy_delimiter = %
|
||
|
||
null = ""
|
||
empty_string = "\ "
|
||
|
||
max_parallel_sections = 4
|
||
|
||
[simple_tmpl]
|
||
template = True
|
||
format = text
|
||
datestyle = dmy
|
||
field_sep = |
|
||
trailing_sep = True
|
||
|
||
[simple]
|
||
use_template = simple_tmpl
|
||
table = simple
|
||
filename = simple/simple.data
|
||
columns = a:1, b:3, c:2
|
||
skip_head_lines = 2
|
||
|
||
# those reject settings are defaults one
|
||
reject_log = /tmp/simple.rej.log
|
||
reject_data = /tmp/simple.rej
|
||
|
||
[xzero]
|
||
use_template = simple_tmpl
|
||
table = xzero
|
||
filename = xzero/xzero.data
|
||
columns = a:1, b:3, c:2
|
||
skip_head_lines = 2
|
||
null = |