Removing unused parameter in SnapBuildGetOrBuildSnapshot

From: Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Removing unused parameter in SnapBuildGetOrBuildSnapshot
Date: 2022-09-21 14:21:57
Message-ID: CAGPVpCTqZRoDKgCycw+eYi+Gq41rN9pU-gntgTd7wfsNDpPL3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

Sharing a small patch to remove an unused parameter
in SnapBuildGetOrBuildSnapshot function in snapbuild.c

With commit 6c2003f8a1bbc7c192a2e83ec51581c018aa162f,
SnapBuildBuildSnapshot no longer needs transaction id. This also makes the
xid parameter in SnapBuildGetOrBuildSnapshot useless.
I couldn't see a reason to keep it and decided to remove it.

Regards,
Melih

Attachment Content-Type Size
0001-Remove-unused-xid-parameter.patch application/octet-stream 2.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2022-09-21 14:24:22 Re: why can't a table be part of the same publication as its schema
Previous Message Tom Lane 2022-09-21 14:21:25 Is it time to drop fix-old-flex-code.pl?