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 1jzKkj-00042Y-3Z for pgsql-general@arkaria.postgresql.org; Sat, 25 Jul 2020 14:02:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jzKki-00077R-2q for pgsql-general@arkaria.postgresql.org; Sat, 25 Jul 2020 14:02:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzKkh-00077K-Rz for pgsql-general@lists.postgresql.org; Sat, 25 Jul 2020 14:02:15 +0000 Received: from smtp.burggraben.net ([88.198.69.140]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzKkf-00073C-4T for pgsql-general@lists.postgresql.org; Sat, 25 Jul 2020 14:02:15 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id B768EC0031B; Sat, 25 Jul 2020 16:02:11 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 4798F139849; Sat, 25 Jul 2020 16:02:11 +0200 (CEST) Date: Sat, 25 Jul 2020 16:02:11 +0200 From: Christoph Moench-Tegeder To: Scott Ribe Cc: PostgreSQL General Subject: Re: is JIT available Message-ID: <20200725140211.GA2440@elch.exwg.net> References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> User-Agent: Mutt/1.14.6 (2020-07-11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ## Scott Ribe (scott_ribe@elevated-dev.com): > So JIT is enabled in your conf, how can you tell from within a client > session whether it's actually available (PG compiled with it and > compiler available)? pg_jit_available() boolean is JIT compilation available in this session https://www.postgresql.org/docs/12/functions-info.html Regards, Christoph -- Spare Space