.
As for the potential for memory leaks - thinking about it.
Thanks,
Charles Duffy.
Peter Eisentraut [EMAIL PROTECTED] writes:
The merge sort is here:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdlib/msort.c?rev=1.21content-type=text/x-cvsweb-markupcvsroot=glibc
It uses alloca, so we're good
seconds. I suspect there are some
other places doesn't check interrupts -- what's your query plan?
Plan attached.
Thanks,
Charles Duffy
db1=# explain analyze SELECT DISTINCT ON (NG.vl1, creat, NG.flati) NG.record,
NG.commr1, NG.docst, NG.docin, NG.doc, NG.flato, NG.flati AS flati, NG.creat