[PATCH] Remove unused include from analyze.c

Поиск
Список
Период
Сортировка
Искать

[PATCH] Remove unused include from analyze.c

От:
Dongpo Liu <poe.liu@pm.me>
Дата:
Вложения:

Hi hackers,

While reading the ANALYZE code, I noticed that
src/backend/commands/analyze.c still includes storage/procarray.h,
but nothing in the file uses it anymore.

Commit 284925508ae removed the call to
GetOldestNonRemovableTransactionId() from acquire_sample_rows(), which
was the last reference to anything declared in that header. The #include
was left behind.

The attached patch removes it. The file compiles cleanly without it,
and I verified that no other symbol from procarray.h is referenced there.

Regards,
Dongpo Liu

Re: [PATCH] Remove unused include from analyze.c

От:
Quan Zongliang <quanzongliang@yeah.net>
Дата:
Вложения:


On 7/29/26 7:46 PM, Daniel Gustafsson wrote:
> 
> This version doesn't seem to work.
> 
Sorry, it's my fault.
Only affects src/backend/replication/logical/logicalctl.c.
Please refer to the attachment.

--
Quan Zongliang
FAQ