pg_check_dir comments and implementation mismatch

From: Marco Nenciarini <marco(dot)nenciarini(at)2ndquadrant(dot)it>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_check_dir comments and implementation mismatch
Date: 2015-01-29 16:00:21
Message-ID: 54CA5915.5080800@2ndquadrant.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

reading pgcheckdir.c code I noticed that the function comment
was outdated. The code now can return values from 0 to 4 while the
comment explains only values 0,1,2.

Patch attached.

Regards,
Marco

--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco(dot)nenciarini(at)2ndQuadrant(dot)it | www.2ndQuadrant.it

Attachment Content-Type Size
pg_check_dir.patch text/plain 2.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-01-29 16:01:51 Re: Hot Standby WAL reply uses heavyweight session locks, but doesn't have enough infrastructure set up
Previous Message Kevin Grittner 2015-01-29 15:59:53 Re: pg_dump with both --serializable-deferrable and -j