Re: [PATCH] Fixed assertion issues in "pg_get_viewdef"
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: zengman <zengman@halodbtech.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-11-20T17:06:45Z
Lists: pgsql-hackers
"=?gb18030?B?emVuZ21hbg==?=" <zengman@halodbtech.com> writes: > Thanks for your guidance, you are right, I looked at your patch > and combined it with the example to generate a new patch, > which is really better. I pushed the code fix, but I can't really convince myself that the test case is worth the cycles it'd eat forevermore. If we had a way to reach the situation where there's setops but not any of the other clauses in a leaf query, perhaps that would be worth checking ... but we don't. It's just belt-and-suspenders-too programming. regards, tom lane
Commits
-
Avoid assertion failure if a setop leaf query contains setops.
- fea81aee83b5 17.3 landed
- fe084039e482 16.7 landed
- 9b9689e26cb6 15.11 landed
- 94131cd53c15 18.0 landed
- 630520c22fbb 13.19 landed
- 3eb26524ca35 14.16 landed