Re: [PATCH] regression test: view and rule definitions must round trip

From: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
To: Greg Burd <greg(at)burd(dot)me>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] regression test: view and rule definitions must round trip
Date: 2026-10-28 02:50:09
Message-ID: CAExHW5vAYc0ZPtL++C9OwfOSV-snwFtv=o806rAJZ0jJXFNxWg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 26, 2026 at 9:50 PM Greg Burd <greg(at)burd(dot)me> wrote:
>
> It sounds like I should drop this idea, and focus on other things and/or
> helping Choi in his efforts. And that's a good outcome too. :)

Every time I encounter such a case, I first check whether the object
in the required state is created by regression tests and then check
whether it retains it after the test ends. If it doesn't, I modify the
test to do so while not breaking other tests. Maybe one AI assisted
pass over all tests will help.

--
Best Wishes,
Ashutosh Bapat

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rui Zhao 2026-10-28 03:11:07 Re: Use C11 alignas instead of palloc/malloc for alignment
Previous Message Richard Guo 2026-10-28 02:23:43 Re: bug: query returns different result with and without memoization.