hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.07k stars 112 forks source link

pg_autoctl --version show weird version for pg_autoctl itself #1036

Open epolkerman opened 1 month ago

epolkerman commented 1 month ago

Compiled and installed pg_auto_failover 2.1 Checking with pg_autoctl --version gives:

> pg_autoctl --version pg_autoctl version .dirty pg_autoctl extension version 2.1 compiled with PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), 64-bit compatible with Postgres 11, 12, 13, 14, 15, and 16

The first line gives an unexpected result ".dirty". I expected to see '2.1'