Thread
Commits
-
pgcrypto: Remove unused code
- 1d3566f1b2a8 16.0 landed
-
Add missing pgcrypto files from previous commit.
- e94dd6ab9100 8.1.0 cited
-
Removing dead code in pgcrypto
Daniel Gustafsson <daniel@yesql.se> — 2022-08-30T10:59:15Z
mbuf_tell and mbuf_rewind functions were introduced in commit e94dd6ab91 but were seemingly never used, so it seems we can consider retiring them in v16. -- Daniel Gustafsson https://vmware.com/
-
Re: Removing dead code in pgcrypto
Aleksander Alekseev <aleksander@timescale.com> — 2022-08-30T12:39:21Z
Hi Daniel, > it seems we can consider retiring them in v16. Looks good to me. A link to the discussion was added to the patch. -- Best regards, Aleksander Alekseev
-
Re: Removing dead code in pgcrypto
Daniel Gustafsson <daniel@yesql.se> — 2022-08-30T12:52:35Z
> On 30 Aug 2022, at 14:39, Aleksander Alekseev <aleksander@timescale.com> wrote: > > Hi Daniel, > >> it seems we can consider retiring them in v16. > > Looks good to me. A link to the discussion was added to the patch. Thanks for looking! On closer inspection, I found another function which was never used and which doesn't turn up when searching extensions. The attached removes pgp_get_cipher_name as well. -- Daniel Gustafsson https://vmware.com/
-
Re: Removing dead code in pgcrypto
Aleksander Alekseev <aleksander@timescale.com> — 2022-08-30T13:01:02Z
Hi Daniel, > Thanks for looking! On closer inspection, I found another function which was > never used and which doesn't turn up when searching extensions. The attached > removes pgp_get_cipher_name as well. I'm pretty sure this change is fine too, but I added the patch to the CF application in order to play it safe. Let's see what cfbot will tell us. -- Best regards, Aleksander Alekseev
-
Re: Removing dead code in pgcrypto
Aleksander Alekseev <aleksander@timescale.com> — 2022-08-30T13:03:32Z
Hi again, > I'm pretty sure this change is fine too, but I added the patch to the > CF application in order to play it safe. Let's see what cfbot will > tell us. I see a little race condition happen :) Sorry for this. -- Best regards, Aleksander Alekseev