Yes it finished successfully after changing it to 50G! Thanks Tom! > On Jul 16, 2015, at 2:14 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > > Yiqing Jin <yiqing.jin@xxxxxxxxx> writes: >> maintenance_work_mem = 128000MB > > Just a thought ... does the crash go away if you reduce that to something > like 50GB? It suddenly strikes me that qsort_tuple is not being careful > about size_t being wider than int. > > regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin