Installing from source v23
You can define a list of extensions to build and install from their Git
repositories by setting
TPA builds and installs extensions one by one in the order listed. So you can build extensions that depend on another (such as pglogical and BDR) by mentioning them in the correct order.
Each entry must specify a
master) to build. You can use
SSH agent forwarding or an HTTPS username/password
to authenticate to the Git repository. Also set
build_commands, as shown in the example.
To reuse the build directory when doing repeated deploys,
tpaexec deploy … --skip-tags build-clean. Otherwise the old build
directory is emptied before starting the build. You can also configure
local source directories
to speed up your development builds.
Whenever you run a source build, Postgres is restarted.
If you're building from source, TPA ensures that the basic
Postgres build dependencies are installed. If you need any additional
packages, mention them in
packages. For example:
- On this page
- Build dependencies