| From: | Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Regression tests that test JIT |
| Date: | 2026-12-06 17:01:36 |
| Message-ID: | CAEZATCUx0sOk+nuS0AEK572SH7K6CkvKJt6wnJ7-oHv08tx+Hg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
There are several regression tests intended to exercise particular
code with JIT. These tests force JIT to be enabled by temporarily
setting jit_above_cost to 0, which worked prior to v19. However,
starting from v19, the default for the 'jit' parameter was changed to
off, so setting jit_above_cost to 0 by itself is not sufficient.
The attached patch sets jit = on temporarily in each of those tests,
so that they continue to exercise JIT, as they were intended to do. I
think this should be back-patched to v19.
I also noticed that the test in groupingsets.sql was never resetting
jit_above_cost, so I've added a reset in what I assume is the right
place, where the other parameters are reset.
Regards,
Dean
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-Set-jit-on-in-regression-tests-that-force-JIT.patch | text/x-patch | 8.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Mihail Nikalayeu | 2026-12-06 16:50:00 | Re: REPACK enhancements |