Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cep1o-00086s-2P for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 20:21:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cep1n-00058e-F6 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 20:21:15 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cep1m-00056H-K7 for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 20:21:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cep1j-0004Bn-3M for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 20:21:13 +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 v1HKL55m019679; Fri, 17 Feb 2017 15:21:05 -0500 From: Tom Lane To: Thomas Munro cc: Andres Freund , Pg Hackers , Alvaro Herrera , Andrew Dunstan Subject: Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes In-reply-to: References: <20170217181348.a5pnflupslw2t6xx@alvherre.pgsql> <32279.1487355685@sss.pgh.pa.us> <2664.1487360457@sss.pgh.pa.us> <0C821A10-45A2-4112-A1A2-EDAE27712C62@anarazel.de> <16461.1487361849@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Sat, 18 Feb 2017 09:05:54 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19677.1487362865.1@sss.pgh.pa.us> Date: Fri, 17 Feb 2017 15:21:05 -0500 Message-ID: <19678.1487362865@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Thomas Munro writes: > On Sat, Feb 18, 2017 at 9:04 AM, Tom Lane wrote: >> [ pokes around... ] Ah, that's called COPT, and it's entirely >> undocumented :-(. Probably ought to fix that. > One way to set that up is like this: > $ cat src/Makefile.custom > COPT=-Wall -Werror $(CC_OPT) Well, we don't document Makefile.custom either, and probably now is not the time to start. I'm inclined to just explain that you can set COPT in the environment of the "make" step to add flags that you couldn't or didn't tell configure about. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers