Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCt3o-0006OU-B2 for pgsql-docs@arkaria.postgresql.org; Tue, 24 Sep 2019 22:13:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCt3n-0000r3-6W for pgsql-docs@arkaria.postgresql.org; Tue, 24 Sep 2019 22:13:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCt3m-0000ob-VA for pgsql-docs@lists.postgresql.org; Tue, 24 Sep 2019 22:13:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCt3k-0004P4-DZ for pgsql-docs@lists.postgresql.org; Tue, 24 Sep 2019 22:13:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8OMDDWl006128; Tue, 24 Sep 2019 18:13:13 -0400 From: Tom Lane To: Peter Eisentraut cc: andast@kth.se, pgsql-docs@lists.postgresql.org Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them. In-reply-to: References: <156924954640.1117.6309209869705522549@wrigleys.postgresql.org> Comments: In-reply-to Peter Eisentraut message dated "Wed, 25 Sep 2019 00:11:00 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6126.1569363193.1@sss.pgh.pa.us> Date: Tue, 24 Sep 2019 18:13:13 -0400 Message-ID: <6127.1569363193@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > PostgreSQL 12 requires C99, so those guidelines should probably be > rephrased from "because old compilers don't accept it" to "because we > like it that way". Yeah, or more formally "to encourage consistent coding style". regards, tom lane