Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id ED7C3633C80 for ; Thu, 28 May 2009 19:28:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 32398-05 for ; Thu, 28 May 2009 19:28:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 3873C633969 for ; Thu, 28 May 2009 19:28:16 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n4SMSExo001857; Thu, 28 May 2009 18:28:14 -0400 (EDT) To: Joshua Tolley cc: pgsql-hackers@postgresql.org Subject: Re: Dtrace probes documentation In-reply-to: <20090528220739.GA15201@eddie> References: <20090528220739.GA15201@eddie> Comments: In-reply-to Joshua Tolley message dated "Thu, 28 May 2009 16:07:39 -0600" Date: Thu, 28 May 2009 18:28:14 -0400 Message-ID: <1856.1243549694@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.118 tagged_above=0 required=5 tests=AWL=0.118 X-Spam-Level: X-Archive-Number: 200905/1337 X-Sequence-Number: 138879 Joshua Tolley writes: > The dtrace probes documentation [1] spells each probe name with dashes > ("transaction-start", "transaction-commit", etc.). Yet as far as I can see, > dtrace only works if you spell the probe names with double underscores > ("transaction__start", "transaction__commit", etc.). Why the discrepancy? Read 26.4.3 and .4. I don't know why they have this bizarre set of conventions, but the single-hyphen version is the spelling most visible to end users. regards, tom lane