==00:00:05:03.907 89== Memcheck, a memory error detector
==00:00:05:03.907 89== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==00:00:05:03.907 89== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==00:00:05:03.907 89== Command: /usr/local/pgsql/bin/../obin/postmaster -D /var/lib/postgresql/main -c config_file=/var/lib/postgresql/main/postgresql.conf
==00:00:05:03.907 89== Parent PID: 14
==00:00:05:03.907 89== 
==00:00:05:13.502 89== Syscall param write(buf) points to uninitialised byte(s)
==00:00:05:13.502 89==    at 0x4E4D281: write (write.c:27)
==00:00:05:13.502 89==    by 0x487ACF: FileWrite (fd.c:1773)
==00:00:05:13.502 89==    by 0x489CB1: BufFileDumpBuffer (buffile.c:324)
==00:00:05:13.502 89==    by 0x48A164: BufFileFlush (buffile.c:466)
==00:00:05:13.502 89==    by 0x48A164: BufFileRead (buffile.c:372)
==00:00:05:13.502 89==    by 0x5FAC68: ltsReadBlock (logtape.c:248)
==00:00:05:13.502 89==    by 0x5FAD4C: ltsReadFillBuffer (logtape.c:275)
==00:00:05:13.502 89==    by 0x60337D: mergeruns (tuplesort.c:2683)
==00:00:05:13.502 89==    by 0x60337D: tuplesort_performsort (tuplesort.c:1823)
==00:00:05:13.502 89==    by 0x395B42: ExecSort (nodeSort.c:117)
==00:00:05:13.502 89==    by 0x375407: ExecProcNodeInstr (execProcnode.c:446)
==00:00:05:13.502 89==    by 0x38D8D3: ExecProcNode (executor.h:250)
==00:00:05:13.502 89==    by 0x38D8D3: ExecMaterial (nodeMaterial.c:134)
==00:00:05:13.502 89==    by 0x375407: ExecProcNodeInstr (execProcnode.c:446)
==00:00:05:13.502 89==    by 0x38EC87: ExecProcNode (executor.h:250)
==00:00:05:13.502 89==    by 0x38EC87: ExecMergeJoin (nodeMergejoin.c:704)
==00:00:05:13.502 89==  Address 0x5fe1e08 is 2,840 bytes inside a block of size 8,256 client-defined
==00:00:05:13.502 89==    at 0x5F5B50: palloc (mcxt.c:872)
==00:00:05:13.502 89==    by 0x489EBF: makeBufFile (buffile.c:107)
==00:00:05:13.502 89==    by 0x489EBF: BufFileCreateTemp (buffile.c:175)
==00:00:05:13.502 89==    by 0x5FAE24: LogicalTapeSetCreate (logtape.c:390)
==00:00:05:13.502 89==    by 0x6019AC: inittapes (tuplesort.c:2410)
==00:00:05:13.502 89==    by 0x6019AC: puttuple_common (tuplesort.c:1622)
==00:00:05:13.502 89==    by 0x602CA3: tuplesort_puttupleslot (tuplesort.c:1375)
==00:00:05:13.502 89==    by 0x395B20: ExecSort (nodeSort.c:111)
==00:00:05:13.502 89==    by 0x375407: ExecProcNodeInstr (execProcnode.c:446)
==00:00:05:13.502 89==    by 0x38D8D3: ExecProcNode (executor.h:250)
==00:00:05:13.502 89==    by 0x38D8D3: ExecMaterial (nodeMaterial.c:134)
==00:00:05:13.502 89==    by 0x375407: ExecProcNodeInstr (execProcnode.c:446)
==00:00:05:13.502 89==    by 0x38EC87: ExecProcNode (executor.h:250)
==00:00:05:13.502 89==    by 0x38EC87: ExecMergeJoin (nodeMergejoin.c:704)
==00:00:05:13.502 89==    by 0x375407: ExecProcNodeInstr (execProcnode.c:446)
==00:00:05:13.502 89==    by 0x392D0E: ExecProcNode (executor.h:250)
==00:00:05:13.502 89==    by 0x392D0E: ExecNestLoop (nodeNestloop.c:109)
==00:00:05:13.502 89== 
{
   <insert_a_suppression_name_here>
   Memcheck:Param
   write(buf)
   fun:write
   fun:FileWrite
   fun:BufFileDumpBuffer
   fun:BufFileFlush
   fun:BufFileRead
   fun:ltsReadBlock
   fun:ltsReadFillBuffer
   fun:mergeruns
   fun:tuplesort_performsort
   fun:ExecSort
   fun:ExecProcNodeInstr
   fun:ExecProcNode
   fun:ExecMaterial
   fun:ExecProcNodeInstr
   fun:ExecProcNode
   fun:ExecMergeJoin
}
==00:00:05:45.308 89== 
==00:00:05:45.308 89== HEAP SUMMARY:
==00:00:05:45.308 89==     in use at exit: 1,008,240 bytes in 209 blocks
==00:00:05:45.308 89==   total heap usage: 633,688 allocs, 520 frees, 69,381,867 bytes allocated
==00:00:05:45.308 89== 
==00:00:05:45.308 89== For a detailed leak analysis, rerun with: --leak-check=full
==00:00:05:45.308 89== 
==00:00:05:45.308 89== For counts of detected and suppressed errors, rerun with: -v
==00:00:05:45.308 89== Use --track-origins=yes to see where uninitialised values come from
==00:00:05:45.308 89== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 11 from 6)
