Compiling the PostgreSQL RPM Package
If the source code package is used for installation, skip this section.
- Go to the tool directory.
cd /home/tsdbtool
- Set compile_flag to 1 in the configuration file and perform the check by referring to Checking the Installation Environment.
- Run the compile command.
sh tsdbtool.sh compile dbtype=postgresql conf=postgresqlconf.csv sourcedir=postgresql-11.3.tar.gz


Logs generated during the normal process are stored in the /tmp/rpm.log file. After the command is executed, the PostgreSQL RPM package is generated in the tsdbtool directory.

Parent topic: Deploying PostgreSQL