Comment in src/backend/commands/vacuumlazy.c

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Comment in src/backend/commands/vacuumlazy.c
Date: 2014-03-24 07:28:48
Message-ID: CA+HiwqE+-cDZ3AZqr1Hqj6nHSXkuQ5nO2tqjjc1Tbv9TZfy4WQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ronan Dunklau 2014-03-24 07:36:19 Re: Triggers on foreign tables
Previous Message Heikki Linnakangas 2014-03-24 06:42:58 Re: typos