Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1OgK-0000fX-D5 for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 21:29:44 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T1OgI-0006e3-Cj for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 21:29:44 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1T1OgG-00046F-JY; Tue, 14 Aug 2012 17:29:40 -0400 Date: Tue, 14 Aug 2012 17:29:40 -0400 From: Bruce Momjian To: Tom Lane Cc: Christoph Anton Mitterer , pgsql-bugs@postgresql.org Subject: Re: BUG #6150: commit_delay should have unit ms Message-ID: <20120814212940.GA15578@momjian.us> References: <201108042130.p74LUZF0077012@wwwmaster.postgresql.org> <20120814201840.GD11913@momjian.us> <20120814202706.GA8324@momjian.us> <13537.1344979599@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13537.1344979599@sss.pgh.pa.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/86 X-Sequence-Number: 33810 On Tue, Aug 14, 2012 at 05:26:39PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > Opps, turns out the units are microseconds (as pointed out to me by > > Magnus), and we don't have a microsecond designation in that file, so I > > reverted that and just added a C comment about why it has no units. > > Is it worth adding support for microseconds in there? Not sure. > > Technically it wouldn't be very hard, but I seem to recall this was > discussed before and we were worried about whether people would be > confused about what "ms" means. Don't know that "us" would be > universally recognized, either. Yes, I do remember the discussion. Because commit_delay is so rarely used, and the only one that uses usec units by default, it didn't seem to make sense to add documentation for an additional unit. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +