Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2MdL-000Dxu-1e for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 05:06:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2MdK-00FwHA-18 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 05:06:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2MdJ-00FwG9-3D for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 05:06:22 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w2MdG-00000000Y29-47k7 for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 05:06:21 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-79a535e7c00so15774117b3.3 for ; Mon, 16 Mar 2026 22:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773723978; cv=none; d=google.com; s=arc-20240605; b=VHRUNB3V14ZoSoBG43uukLIVThr+K5JcVcjLDcUpdpgpGxikRudMwrbL3jsxAlVloG +gPv/hxohcZUYyRC4thvZyVnt7lqbh7IlAh3KDK8Hxx/B5NFOuGDCVzYxXYCvfAFch0b 7h7PsFVW2OfpODYR4bLK8t3vzkvsJf1o/zmkNvWzK9a0sgRyx7xZ3M92JyXcNS8Ixve5 1wD0THnI+3WLNQEn8mNcsJ1XOd8wSpZfqOiVBQSvvVYwzgiEfKBmzpsyOfJCDX+tQAd0 WVLWwmkDxrs4TgqJca9dz3wuy34RGwkjjtcUkLbA4YeNF0a3Z96IUbqItsNjUm6NrrtX /rcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=p+3m8MtWAmoAmCxXLa6JrQudzbPEW4ztGy1uic/EGlE=; fh=9nq6M6tygb8ea6F4JtTHImDbYw/9VDtfr96xkW30KTo=; b=I4KTVJrv1c8HnOsTPzc+3KgGdgQieqm6NyTJqAB6yY6zQ/3rks0bvhLIMz9nCV3lWD QRo3iV92FqfwiYl2utzZxh8qC3DlMwXza5OswhKT0EIQjWZI4WdtfrU3ek0R/FCYdVc1 Notn+vQlkMOGSj3/5KPWQUKL/dKjxQjimYyyE1GblqKqjpHSTvgKaJvOwyPfhF8lZiAX 3Mqd22gWpNsHmPbCzWpGE9x03cF+761QYnHE0PV3yScZF6E3eXL1spboCOqR0V+orebs msRv3ccF/94Z2fZ6yOAm7cRccvgx6uNvtS6eIqJB5YRYG4wMAlT91wsRIyOZ5jSlLnEo w9Xw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=percona.com; s=google; t=1773723978; x=1774328778; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p+3m8MtWAmoAmCxXLa6JrQudzbPEW4ztGy1uic/EGlE=; b=WEoofFvlWDE+W8cD+T7wNCCiGWlaAqCQskKWDHU/8Vqa95FIl7IQJRV0kgtt7rmkCO I0SOdVP1KkD8ggCkPTGZy9fht5I4YnZyWP8OK1webjV3lVv+eSGGbg+a2Eb/3Nj15u8n yw+u2dD91wxBf/2TRd4w2CMZHOfNA3N4UUmoA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773723978; x=1774328778; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p+3m8MtWAmoAmCxXLa6JrQudzbPEW4ztGy1uic/EGlE=; b=EsTMnx9SdJgnGCynNDHNysO60SaObb9Xq4HW+NlwwD1Bmzz1EGeP86TtjTl50AT0cI o8CjUK3SnOH48JOxbD7cGAw3rIU9JRdZ57WDZR1w1QSF6MXRBK9qC7P0zkp/MU2NtGOf pE7+sIDOem/GYC1BdROr8UnZsYcMVlgpv7ES7CyJJwVriHOWuLXNODTbepNAnxi78JIo aMbYDykVAPx/J4lEeiv0HptFor5lZc9hDyc+cL2m407NPBJf7f/YBF473aJnlctbOCfS DMJZ1nMcTHiXyXdMgRYHzxbDTNl9fohueTgaNCQl7D4m5jBxH87UHv/C5ceY4iY7DWB3 RP2Q== X-Forwarded-Encrypted: i=1; AJvYcCWhdr8KfXhDzKQpKShY4cY+1IbOKsxqkQx6L5cRH0UveVAo/6IawI/u0o/uAhSWtncnq3KPb05+x/FedfC7@lists.postgresql.org X-Gm-Message-State: AOJu0YyqlZRVKD+j0Il7ap+hh+vF/sBW8D/nBgMmjXSAdZMCWZXQ8WWG cVmPZOe6WBQ9BD3wGyYnXxMY70L+GGwQt5J3I0r/x9aK3m77/1bqwQmZKG8nohkZRcioNJAXLPX TOVr2sY1Y9B8mPJnFeFZP6D3yErITKSzrTXFiHsYHpvD3A5upvk0GrBnczoeBQi7X+i9uhqmqBN T9wHlIGJ4wUT5krw/30Z4mKBUg6U9ZqxV8i5exYKZhqm8vF680D94TsRHRC2HYuxPXxe7Kaa2aM TR+fEXXzJKLq6LyFS6NJiewDWzzLpU03BDOCcgQlxsjkhCTmKHTn0SWuJ6zg1ObwrE= X-Gm-Gg: ATEYQzw5xRMaTHzDHhMnIXN8SfKyOl04j3pbmiPzkCsiV5we3ajBbgi9x6BO0QLFjvi fpiCNBmsBGgi+yLLzD18KSk9a7/DMqHQwdfdciALgP0NEJE77Bs3MKaax+QRlr9MfIr2XEpQsmX B/MMn97jM/KThjIJueJhveBeHpPuAk16QWM5hDPhgzt1SYsfGtSEKQR7gJOWpZstFL/dUVuWd1g iy+xlQDqE+9v8lP+iQldO93XUO4HEb/coECiI5FsDttbwNUs/zPxIaSOACMePkF2lX194t1N/Ul XyefhsAdp1uNY0mSpMxWfAUWuSXaJzBtyth9b2+ika7bQmXz6l0ZqlrLJ/X3URdX3gXv X-Received: by 2002:a05:690c:7242:b0:799:8c6:9ccb with SMTP id 00721157ae682-79a1c20e520mr159162777b3.62.1773723977790; Mon, 16 Mar 2026 22:06:17 -0700 (PDT) MIME-Version: 1.0 References: <1136161.1769654478@sss.pgh.pa.us> In-Reply-To: From: Zsolt Parragi Date: Tue, 17 Mar 2026 05:06:08 +0000 X-Gm-Features: AaiRm51HwLsb4hYYzTIPrsrLw-cZecJGDGITjlK0yij27rYUM0wWIW7jmRdNUKQ Message-ID: Subject: Re: pg_plan_advice To: Robert Haas Cc: "David G. Johnston" , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" X-CLOUD-SEC-AV-Sent: true X-CLOUD-SEC-AV-Info: percona,google_mail,monitor X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Thanks. The changes to the Makefile seem to mirror what is done in > contrib/isn/Makefile, but I'm not so sure about the meson.build > changes. sepgsql uses dir_data / 'contrib' rather than > dir_include_server. src/pl/pl{perl,pgsql,python} use > dir_include_server, but they also live in src/pl, not contrib. I don't > think I understand what the underlying principal is supposed to be > here. If you or anyone else knows, please enlighten me. PGXS defines it as: # HEADERS_$(MODULE) -- files to install into # $(includedir_server)/$MODULEDIR/$MODULE; the value of $MODULE must be # listed in MODULES or MODULE_big where # MODULEDIR -- subdirectory of $PREFIX/share into which DATA and DOCS files # should be installed (if not set, default is "extension" if EXTENSION # is set, or "contrib" if not) And I mirrored that in meson. Data seems to be wrong for headers, as that's # DATA -- random files to install into $PREFIX/share/$MODULEDIR > sepgsql uses dir_data / 'contrib' Also, sepgsql installs an sql file, not an include.