Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ludAO-0006lf-5k for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Jun 2021 15:45:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ludAN-000634-4Z for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Jun 2021 15:45:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ludAM-00062w-TW for pgsql-hackers@lists.postgresql.org; Sat, 19 Jun 2021 15:45:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ludAK-0001Hr-Te for pgsql-hackers@lists.postgresql.org; Sat, 19 Jun 2021 15:45:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 15JFjYdR1415995; Sat, 19 Jun 2021 11:45:34 -0400 From: Tom Lane To: Alvaro Herrera cc: Boris Kolpackov , pgsql-hackers@lists.postgresql.org Subject: Re: Add version macro to libpq-fe.h In-reply-to: <1233367.1624040650@sss.pgh.pa.us> References: <202106181803.7ueuxvqv5jah@alvherre.pgsql> <1233367.1624040650@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 18 Jun 2021 14:24:10 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1415993.1624117534.1@sss.pgh.pa.us> Date: Sat, 19 Jun 2021 11:45:34 -0400 Message-ID: <1415994.1624117534@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Alvaro Herrera writes: >> Well, if we do want docs for these macros, then IMO it'd be okay to have >> them in libpq-fe.h itself rather than SGML. A one-line comment for each >> would suffice: > WFM. I'd sort of supposed that the symbol names were self-documenting, > but you're right that a line or so of annotation improves things. Hearing no further comments, done that way. regards, tom lane