Thread
Commits
-
Optimize pg_visibility with read streams.
- 65c310b310a6 18.0 landed
-
Revert "Optimize pg_visibility with read streams."
- ddfc556a6444 18.0 landed
-
Add block_range_read_stream_cb(), to deduplicate code.
- c582b75851c2 18.0 cited
-
Avoid dead code (contrib/pg_visibility/pg_visibility.c)
Ranier Vilela <ranier.vf@gmail.com> — 2024-09-04T16:50:24Z
Hi. Per coverity. I think that commit c582b75 <https://github.com/postgres/postgres/commit/c582b75851c2d096ce050d753494505a957cee75>, left an oversight. The report is: CID 1559993: (#1 of 1): Logically dead code (DEADCODE) Trivial patch attached. best regards, Ranier Vilela
-
Re: Avoid dead code (contrib/pg_visibility/pg_visibility.c)
Michael Paquier <michael@paquier.xyz> — 2024-09-12T05:18:35Z
On Wed, Sep 04, 2024 at 01:50:24PM -0300, Ranier Vilela wrote: > I think that commit c582b75 > <https://github.com/postgres/postgres/commit/c582b75851c2d096ce050d753494505a957cee75>, > left an oversight. > > The report is: > CID 1559993: (#1 of 1): Logically dead code (DEADCODE) > > Trivial patch attached. I am not sure to understand what you mean here and if this is still relevant as of Noah's latest commit in 65c310b310a6. -- Michael
-
Re: Avoid dead code (contrib/pg_visibility/pg_visibility.c)
Nazir Bilal Yavuz <byavuz81@gmail.com> — 2024-09-12T06:10:44Z
Hi, On Thu, 12 Sept 2024 at 08:19, Michael Paquier <michael@paquier.xyz> wrote: > > On Wed, Sep 04, 2024 at 01:50:24PM -0300, Ranier Vilela wrote: > > I think that commit c582b75 > > <https://github.com/postgres/postgres/commit/c582b75851c2d096ce050d753494505a957cee75>, > > left an oversight. > > > > The report is: > > CID 1559993: (#1 of 1): Logically dead code (DEADCODE) Thanks for the report! > I am not sure to understand what you mean here and if this is still > relevant as of Noah's latest commit in 65c310b310a6. This should be fixed in 65c310b310a6. -- Regards, Nazir Bilal Yavuz Microsoft
-
Re: Avoid dead code (contrib/pg_visibility/pg_visibility.c)
Ranier Vilela <ranier.vf@gmail.com> — 2024-09-12T12:07:20Z
Em qui., 12 de set. de 2024 às 02:18, Michael Paquier <michael@paquier.xyz> escreveu: > On Wed, Sep 04, 2024 at 01:50:24PM -0300, Ranier Vilela wrote: > > I think that commit c582b75 > > < > https://github.com/postgres/postgres/commit/c582b75851c2d096ce050d753494505a957cee75 > >, > > left an oversight. > > > > The report is: > > CID 1559993: (#1 of 1): Logically dead code (DEADCODE) > > > > Trivial patch attached. > > I am not sure to understand what you mean here and if this is still > relevant as of Noah's latest commit in 65c310b310a6. > Sorry Michael, but this patch became irrelevant after ddfc556 <http://ddfc556a644404a8942e77651f75f09aa5188782> Note the omission to connect the dots, from the commit. best regards, Ranier Vilela
-
Re: Avoid dead code (contrib/pg_visibility/pg_visibility.c)
Michael Paquier <michael@paquier.xyz> — 2024-09-13T00:10:02Z
On Thu, Sep 12, 2024 at 09:10:44AM +0300, Nazir Bilal Yavuz wrote: > This should be fixed in 65c310b310a6. Thanks for the confirmation. -- Michael