Comment in src/backend/commands/vacuumlazy.c - Mailing list pgsql-hackers

From Amit Langote
Subject Comment in src/backend/commands/vacuumlazy.c
Date
Msg-id CA+HiwqE+-cDZ3AZqr1Hqj6nHSXkuQ5nO2tqjjc1Tbv9TZfy4WQ@mail.gmail.com
Whole thread Raw
Responses Re: Comment in src/backend/commands/vacuumlazy.c
List pgsql-hackers
Hi,

Note the following comment in src/backend/commands/vacuumlazy.c:lazy_scan_heap()

1088     /* If no indexes, make log report that lazy_vacuum_heap
would've made */
1089     if (vacuumed_pages)
1090         ereport(elevel,

Just wondering if it would read better as:

1088     /* Make the log report that lazy_vacuum_heap would've made
had there been no indexes */

Is that correct?

--
Amit



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: typos
Next
From: Ronan Dunklau
Date:
Subject: Re: Triggers on foreign tables