Thread

  1. pg_tde in PostgreSQL 18.3

    Matthias Apitz <guru@unixarea.de> — 2026-04-15T09:03:24Z

    Hello,
    
    We compiled pg_tde (transparent data encryption) into PostgreSQL 16.5
    the "normal" way:
    
    - git clone pg_tde to the following place
    
      cd postgresql-16.5/contrib
      git clone https://github.com/percona/pg_tde.git
    
    - configure and make it:
    
      cd postgresql-16.5/contrib/pg_tde
      ./configure --prefix= .....
      gmake
      sudo gmake install
    
    It seems this path for 18.3 does not exist anymore, the is
    no ./configure in pg_tde:
    
      cd postgresql-18.3/contrib/pg_tde> ls
      CONTRIBUTING.md  code-of-conduct.md  pg_tde--1.0--2.0.sql  src
      COPYRIGHT        documentation       pg_tde--1.0.sql       t
      Makefile         expected            pg_tde--2.0--2.1.sql  testwrap
      README.md        fetools             pg_tde.control        tools
      SECURITY.md      meson.build         pykmip-server.conf
      ci_scripts       meson_options.txt   sql
    
    I've asked this question already in Percona Community Forum
    https://forums.percona.com/t/compiling-pg-tde-into-postgresql-18-3-from-source/40626
    With no reaction.
    
    Any comments?
    
    	matthias
    
    -- 
    Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
    Public GnuPG key: http://www.unixarea.de/key.pub
    I, Matthias, I am not at war with Russia.
    Я не воюю с Россией.
    Ich bin nicht im Krieg mit Russland.
    
    
    
    
  2. Re: pg_tde in PostgreSQL 18.3

    Tom Lane <tgl@sss.pgh.pa.us> — 2026-04-15T14:35:05Z

    Matthias Apitz <guru@unixarea.de> writes:
    > It seems this path for 18.3 does not exist anymore, the is
    > no ./configure in pg_tde:
    
    Just guessing, but this looks like they switched to handling
    meson builds only [1].
    
    			regards, tom lane
    
    [1] https://www.postgresql.org/docs/current/install-meson.html
    
    
    
    
  3. Re: pg_tde in PostgreSQL 18.3

    Bruce Momjian <bruce@momjian.us> — 2026-04-15T16:10:26Z

    On Wed, Apr 15, 2026 at 10:35:05AM -0400, Tom Lane wrote:
    > Matthias Apitz <guru@unixarea.de> writes:
    > > It seems this path for 18.3 does not exist anymore, the is
    > > no ./configure in pg_tde:
    > 
    > Just guessing, but this looks like they switched to handling
    > meson builds only [1].
    
    Uh, I see them requiring an open source fork of Postgres:
    
    	https://github.com/percona/pg_tde
    	Works only with Percona Server for PostgreSQL 17 or Percona
    	Server for PostgreSQL 18
    
    and
    	https://docs.percona.com/postgresql/18/postgresql-server.html
    	Percona Server for PostgreSQL is a binary-compatible, open source
    	drop-in replacement for PostgreSQL 18. It functions identically
    	to upstream PostgreSQL, allowing you to migrate seamlessly between
    	the two.
    
    -- 
      Bruce Momjian  <bruce@momjian.us>        https://momjian.us
      EDB                                      https://enterprisedb.com
    
      Do not let urgent matters crowd out time for investment in the future.