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 1k0alY-0000rV-7N for pgsql-general@arkaria.postgresql.org; Wed, 29 Jul 2020 01:20:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k0alX-0005AY-64 for pgsql-general@arkaria.postgresql.org; Wed, 29 Jul 2020 01:20:19 +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 1k0alW-0005AR-Qg for pgsql-general@lists.postgresql.org; Wed, 29 Jul 2020 01:20:18 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k0alQ-000595-Fb for pgsql-general@lists.postgresql.org; Wed, 29 Jul 2020 01:20:17 +0000 Received: by mail-oi1-x242.google.com with SMTP id q4so7578060oia.1 for ; Tue, 28 Jul 2020 18:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=shPd8/UulakR7RmP4ZQCJZWIZUuGfAtQKZhO0v2BgVk=; b=aeYsG6NgkzJupAMq9NfMQBcrgFTqCe30VUvKBH5OLMVBM8cpXoEZTAqKjj6234EYZm PPc8OHGYpLwFI+gz73FmOMBuIQITDJQWWQU8IMEVFsvQhhcbYdWRXAhhuLIzd1SWc1jn 5uxY1EIbqeCTto62114Iknkh/HFQJddIT+oaPEE4AZjCvrUiuBavVCgTjuJVPA5+SoOq tLwFl9YrttsqAhosq87wO3CAC8dwRSaw1fUnwpaMB7rruMTi/Xpl47uA19f72G2CIeRQ evnJ6Iiq6rp+tUIpc8hvon8X8QUf8m8Z1C7YRV+3zYaGalOq9n0tv6/bjs8pEW+41O+C JGuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=shPd8/UulakR7RmP4ZQCJZWIZUuGfAtQKZhO0v2BgVk=; b=c2VqDTqy6PcvH6XMoHy/e9GALQjqbg5AcTqSfVZSsjOZvk7/H4gWZQKcS2oUFmYS7V EGhppQEGlks3+BYLdK6cT5d83cx5jlaaBroQW1USfJJbn5RzN5foMo0nRhkXfxEmRRn1 AVUwDUVZptABs4oNKjQ6ijMLVmbrScFhFXuwNhZpKQfPOlhT0DWyv67Ve4ntD+lOQrh9 qHDXdB81HvyqQyBpKe9IjRDCUcIHT2uluWCUBVVkZbbP0hmzg3EmF/h+ScxerBQe9VfZ HY6m1VNOVYnW7VL8gWxYudlqthjNwYThKymczDpXnu7hLUoMvHm1ghrscJCqS6GRbq+O SADA== X-Gm-Message-State: AOAM533btLmrTqr5kcGFzmtDgwdMG4b4rELVEcCRgw7e24S1mKJqO7+S +rUFN6dDkIBocrRNpvIS7+GSP5ig4A/tfxfvmjoWivet X-Google-Smtp-Source: ABdhPJw89PN6cJrQh1ALXHsX7vNaoTxXZ6VtqJBZXnue2mO8eqwTa65xBotaQhh2CjQQaYcfbCsPoD8fZ4ebJXmpUj4= X-Received: by 2002:aca:496:: with SMTP id 144mr5903990oie.26.1595985611842; Tue, 28 Jul 2020 18:20:11 -0700 (PDT) MIME-Version: 1.0 References: <78993261-E86D-4CCC-8606-11C0A47B5817@elevated-dev.com> <20200725140211.GA2440@elch.exwg.net> <1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com> In-Reply-To: From: David Rowley Date: Wed, 29 Jul 2020 13:19:55 +1200 Message-ID: Subject: Re: is JIT available To: Scott Ribe Cc: Christoph Moench-Tegeder , PostgreSQL General Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 29 Jul 2020 at 00:26, Scott Ribe wrot= e: > 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 re= quire LLVM presence on the machine where deployed? And if so, does the func= tion take that into account as well? It's not enough for just the build to have been built with jit enabled. The jit extension must also be present on the machine. I think the new wording in https://www.postgresql.org/docs/devel/functions-info.html conveys that: "Returns true if a JIT compiler extension is available (see Chapter 31) and the jit configuration parameter is set to on." David