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 1k0Ogu-0004WD-PX for pgsql-general@arkaria.postgresql.org; Tue, 28 Jul 2020 12:26:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k0Ogr-0005ww-RE for pgsql-general@arkaria.postgresql.org; Tue, 28 Jul 2020 12:26:41 +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 1k0Ogq-0005wp-VM for pgsql-general@lists.postgresql.org; Tue, 28 Jul 2020 12:26:40 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0Ogm-0006x0-Vp for pgsql-general@lists.postgresql.org; Tue, 28 Jul 2020 12:26:39 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 516EBC0867; Tue, 28 Jul 2020 12:26:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mxg4hSfRU1KE; Tue, 28 Jul 2020 12:26:35 +0000 (UTC) Received: from shr-macbook-pro.local (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 41534C0860; Tue, 28 Jul 2020 12:26:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: is JIT available From: Scott Ribe In-Reply-To: Date: Tue, 28 Jul 2020 06:26:31 -0600 Cc: Christoph Moench-Tegeder , PostgreSQL General Content-Transfer-Encoding: quoted-printable Message-Id: References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> <20200725140211.GA2440@elch.exwg.net> <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com> To: David Rowley X-Mailer: Apple Mail (2.3608.80.23.2.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Jul 27, 2020, at 6:04 PM, David Rowley = wrote: >=20 > "returns true if jit is enabled and JIT compilation is available in > this session (see Chapter 31)." That is clearer. I didn't submit a suggestion myself because I'm not = clear on the actual circumstances. I know it won't be available if: - jit is not on in config - PG was not compiled with JIT support But does compilation with JIT enable and LLVM dev tools mean that all = the LLVM compilation/optimization is built into the PG binaries, or does = it require LLVM presence on the machine where deployed? And if so, does = the function take that into account as well? I would guess the function is telling the truth under all circumstances, = but I don't know for sure. Perhaps: "returns true if JIT (see Chapter 31) is available in this = session. Availability of JIT requires that PG was compiled with JIT = support, JIT is enabled in config, .=