| From: | Noah Misch <noah(at)leadboat(dot)com> |
|---|---|
| To: | Peter Geoghegan <pg(at)heroku(dot)com> |
| Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Bug in batch tuplesort memory CLUSTER case (9.6 only) |
| Date: | 2016-07-02 02:05:06 |
| Message-ID: | 20160702020506.GA1438189@tornado.leadboat.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Jul 01, 2016 at 12:37:23PM -0700, Peter Geoghegan wrote:
> On Fri, Jul 1, 2016 at 12:30 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> > Checkout my gensort tool from github. Build the C tool with "make".
> > Then, from the working directory:
> >
> > ./postgres_load.py -m 250 --skew --logged
> > psql -c "CREATE INDEX segfaults on sort_test_skew(sortkey);"
> > psql -c "CLUSTER sort_test_skew USING segfaults;"
>
> I think that almost any CLUSTER based on an external sort would show
> problems with valgrind memcheck, though. That's probably far easier.
I think such a test would suffice to cover this bug if Valgrind Memcheck does
detect the problem in it.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Masahiko Sawada | 2016-07-02 02:16:33 | Re: Comment and function argument names are mismatched in bugmgr.c. |
| Previous Message | Andreas Karlsson | 2016-07-02 00:50:43 | Re: OpenSSL 1.1 breaks configure and more |