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