(gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007f79267aeb7d in __GI_abort () at abort.c:90 #2 0x0000000000878ef4 in ExceptionalCondition (conditionName=, errorType=, fileName=, lineNumber=) at assert.c:54 #3 0x0000000000766387 in mdopen (reln=, forknum=, behavior=1) at md.c:609 #4 0x00000000007674b7 in mdnblocks (reln=0x174c420, forknum=MAIN_FORKNUM) at md.c:876 #5 0x0000000000767a61 in mdimmedsync (reln=0x174c420, forknum=MAIN_FORKNUM) at md.c:1034 #6 0x00000000004c62b5 in heap_sync (rel=0x7f78a1bdf5c0) at heapam.c:9399 #7 0x00000000005a2bdd in CopyFrom (cstate=) at copy.c:2890 #8 0x00000000005a1621 in DoCopy (pstate=, stmt=0x150c298, stmt_location=, stmt_len=, processed=) at copy.c:992 #9 0x0000000000770ae1 in standard_ProcessUtility (pstmt=0x150c388, queryString=0x150b578 "COPY lineitem FROM '/mnt/raid/tpch/lineitem.csv' WITH (FORMAT csv, DELIMITER '|');", context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x150c678, completionTag=0x7ffe998b7b20 "") at utility.c:548 #10 0x00000000007704c2 in ProcessUtility (pstmt=0x2, queryString=0x7ffe998b7420 "", context=PROCESS_UTILITY_TOPLEVEL, params=0x7f79267acfa0 <__GI_raise+272>, queryEnv=0x0, dest=0x7ffe998b7420, completionTag=0x7ffe998b7b20 "") at utility.c:360 #11 0x00000000007700a3 in PortalRunUtility (portal=0x1572028, pstmt=0x150c388, isTopLevel=, setHoldSnapshot=, dest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:1178 #12 0x000000000076f7b6 in PortalRunMulti (portal=0x1572028, isTopLevel=true, setHoldSnapshot=false, dest=0x150c678, altdest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:1331 #13 0x000000000076f141 in PortalRun (portal=0x1572028, count=9223372036854775807, isTopLevel=true, run_once=, dest=, altdest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:799 #14 0x000000000076e108 in exec_simple_query (query_string=0x150b578 "COPY lineitem FROM '/mnt/raid/tpch/lineitem.csv' WITH (FORMAT csv, DELIMITER '|');") at postgres.c:1122 #15 0x000000000076c045 in PostgresMain (argc=, argv=, dbname=, username=) at postgres.c:4155 #16 0x00000000006ef3d8 in BackendRun (port=0x152c620) at postmaster.c:4361 #17 0x00000000006eea96 in BackendStartup (port=) at postmaster.c:4033 #18 ServerLoop () at postmaster.c:1706 #19 0x00000000006ebd21 in PostmasterMain (argc=, argv=) at postmaster.c:1379 #20 0x0000000000660dd4 in main (argc=3, argv=0x1505fd0) at main.c:228 (gdb) print wal_level $1 = 0 (gdb) bt full #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 set = {__val = {0, 9779315902183899136, 0, 0, 0, 2305878331024736256, 0, 0, 4594464784623501632, 0, 0, 0, 4594464784623501626, 0, 4619490161887593984, 0}} pid = tid = ret = #1 0x00007f79267aeb7d in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 , 19}}, sa_flags = 1471333120, sa_restorer = 0x0} sigs = {__val = {32, 0 }} #2 0x0000000000878ef4 in ExceptionalCondition (conditionName=, errorType=, fileName=, lineNumber=) at assert.c:54 No locals. #3 0x0000000000766387 in mdopen (reln=, forknum=, behavior=1) at md.c:609 path = 0x1532b18 "base/24576/24619" fd = -1 mdfd = #4 0x00000000007674b7 in mdnblocks (reln=0x174c420, forknum=MAIN_FORKNUM) at md.c:876 segno = v = nblocks = #5 0x0000000000767a61 in mdimmedsync (reln=0x174c420, forknum=MAIN_FORKNUM) at md.c:1034 segno = #6 0x00000000004c62b5 in heap_sync (rel=0x7f78a1bdf5c0) at heapam.c:9399 No locals. #7 0x00000000005a2bdd in CopyFrom (cstate=) at copy.c:2890 estate = firstBufferedLineNo = bufferedTuplesSize = 0 prev_leaf_part_index = nBufferedTuples = 0 processed = hi_options = mycid = tupDesc = resultRelInfo = myslot = mtstate = bufferedTuples = values = nulls = bistate = saved_resultRelInfo = econtext = tuple = useHeapMultiInsert = oldcontext = errcallback = #8 0x00000000005a1621 in DoCopy (pstate=, stmt=0x150c298, stmt_location=, stmt_len=, processed=) at copy.c:992 rel = relid = query = 0x0 cstate = 0x1532150 is_from = pipe = #9 0x0000000000770ae1 in standard_ProcessUtility (pstmt=0x150c388, queryString=0x150b578 "COPY lineitem FROM '/mnt/raid/tpch/lineitem.csv' WITH (FORMAT csv, DELIMITER '|');", context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x150c678, completionTag=0x7ffe998b7b20 "") at utility.c:548 processed = 22608872 parsetree = 0x150c298 pstate = 0x152e458 isTopLevel = isAtomicContext = #10 0x00000000007704c2 in ProcessUtility (pstmt=0x2, queryString=0x7ffe998b7420 "", context=PROCESS_UTILITY_TOPLEVEL, params=0x7f79267acfa0 <__GI_raise+272>, queryEnv=0x0, dest=0x7ffe998b7420, completionTag=0x7ffe998b7b20 "") at utility.c:360 No locals. #11 0x00000000007700a3 in PortalRunUtility (portal=0x1572028, pstmt=0x150c388, isTopLevel=, setHoldSnapshot=, dest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:1178 utilityStmt = snapshot = 0x158fc20 #12 0x000000000076f7b6 in PortalRunMulti (portal=0x1572028, isTopLevel=true, setHoldSnapshot=false, dest=0x150c678, altdest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:1331 pstmt = 0x150c388 active_snapshot_set = true stmtlist_item = 0x150c618 #13 0x000000000076f141 in PortalRun (portal=0x1572028, count=9223372036854775807, isTopLevel=true, run_once=, dest=, altdest=0x150c678, completionTag=0x7ffe998b7b20 "") at pquery.c:799 local_sigjmp_buf = {{__jmpbuf = {22487080, 1734723643579863938, 22070904, 22247592, 22608592, 1, 1734723643588252546, -1733945172490022014}, __mask_was_saved = 0, __saved_mask = {__val = {22495288, 11050096, 112, 2, 22487080, 22066272, 22070056, 140731474475808, 9070928, 140731474475703, 22487080, 22070848, 10408773, 11045917, 22070056, 1}}}} save_exception_stack = ---Type to continue, or q to quit--- save_context_stack = saveTopTransactionResourceOwner = 0x15378a8 saveTopTransactionContext = 0x158fad0 saveResourceOwner = 0x15378a8 saveMemoryContext = 0x158fad0 result = nprocessed = saveActivePortal = savePortalContext = #14 0x000000000076e108 in exec_simple_query (query_string=0x150b578 "COPY lineitem FROM '/mnt/raid/tpch/lineitem.csv' WITH (FORMAT csv, DELIMITER '|');") at postgres.c:1122 portal = 0x1572028 parsetree = completionTag = '\000' , "\002\000\000\000R\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\b^S\001\000\000\000\000\b|\213\231\376\177\000\000x\265P\001", '\000' plantree_list = format = 0 snapshot_set = true commandTag = querytree_list = receiver = 0x150c678 msec_str = '\000' , "\002\000\000\000R\000\000\000\000\000\000\000\006\000\000\000\000\000\000" was_logged = false dest = parsetree_list = 0x150c350 parsetree_item = 0x150c328 oldcontext = save_log_statement_stats = use_implicit_block = #15 0x000000000076c045 in PostgresMain (argc=, argv=, dbname=, username=) at postgres.c:4155 query_string = local_sigjmp_buf = {{__jmpbuf = {140731474476272, -1734125229882698878, 22240776, 22201840, 22240512, 253, 1734723643521143682, -1733945170571390078}, __mask_was_saved = 1, __saved_mask = {__val = {0, 0, 0, 11050096, 22044800, 22201888, 9038901, 22071752, 13953968, 22240776, 22240776, 140731474476536, 8946411, 7364253961987031040, 22071752, 4398046511104}}}} send_ready_for_query = false disable_idle_in_transaction_timeout = false firstchar = 81 input_message = {data = 0x150b578 "COPY lineitem FROM '/mnt/raid/tpch/lineitem.csv' WITH (FORMAT csv, DELIMITER '|');", len = 83, maxlen = 1024, cursor = 83} #16 0x00000000006ef3d8 in BackendRun (port=0x152c620) at postmaster.c:4361 secs = 590627245 usecs = maxac = ac = 2 av = 0x1535e08 i = #17 0x00000000006eea96 in BackendStartup (port=) at postmaster.c:4033 bn = pid = 0 save_errno = #18 ServerLoop () at postmaster.c:1706 port = i = selres = now = rmask = last_lockfile_recheck_time = last_touch_time = readmask = {fds_bits = {24, 0 }} nSockets = 5 #19 0x00000000006ebd21 in PostmasterMain (argc=, argv=) at postmaster.c:1379 listen_addr_saved = true output_config_variable = opt = userDoption = i = 0 status = #20 0x0000000000660dd4 in main (argc=3, argv=0x1505fd0) at main.c:228 No locals.