[PATCH] Remove unused include from analyze.c - Mailing list pgsql-hackers

From Dongpo Liu
Subject [PATCH] Remove unused include from analyze.c
Date
Msg-id ZFHOybslVhRiAa9bF3UFrDVR3kjhG4wbCjzv_CEpceduWnOKdbq7xqBNXvzCsSqpAEoZeLFyW0ibbImVEdZLVUcj_nsS4uILbO-IRUSKzJE=@pm.me
Whole thread
List pgsql-hackers

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

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: inconsistent jsonb 'null' conversions
Next
From: Sehrope Sarkuni
Date:
Subject: Re: inconsistent jsonb 'null' conversions