Unused variable in perl test
Unused variable in perl test
Hi, here is my 2c :) There is an unused variable "backup_name" in test/recovery/t/006_logical_decoding.pl What about getting rid of it? -- Best regards, Daniil Davydov
Re: Unused variable in perl test
От:
Daniel Gustafsson <daniel@yesql.se>
Дата:
> On 24 Oct 2025, at 16:12, Daniil Davydov <3danissimo@gmail.com> wrote: > There is an unused variable "backup_name" in > test/recovery/t/006_logical_decoding.pl > What about getting rid of it? Seems to have been unused since introduced in d851bef2d60ff close to a decade ago. -- Daniel Gustafsson
Re: Unused variable in perl test
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Daniel Gustafsson writes: > On 24 Oct 2025, at 16:12, Daniil Davydov <3danissimo@gmail.com> wrote: >> There is an unused variable "backup_name" in >> test/recovery/t/006_logical_decoding.pl >> What about getting rid of it? > Seems to have been unused since introduced in d851bef2d60ff close to a decade > ago. I didn't double-check the history, but it's clearly unused now. Pushed. regards, tom lane