Re: psql emit WARNING if built with option --with-extra-version and the option only contains numbers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jet Zhang <jet(dot)cx(dot)zhang(at)hotmail(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: psql emit WARNING if built with option --with-extra-version and the option only contains numbers
Date: 2022-04-27 15:00:31
Message-ID: 384651.1651071631@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Jet Zhang <jet(dot)cx(dot)zhang(at)hotmail(dot)com> writes:
> As the doc mentioned, the --with-extra-version can be a distribution package release number. But if I build the program like below configure:

> ./configure --prefix=/home/zhangchenxi/Workspace/c/.build/psql --enable-debug --enable-depend --enable-cassert --with-extra-version=.54321 CFLAGS=-O0

Don't do that. As you found out, you'll confuse client programs that
think that three-part version numbers are old-style PG versions.
Use some other format for the extra version, perhaps with a dash or
underscore first.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2022-04-27 15:03:20 Re: psql emit WARNING if built with option --with-extra-version and the option only contains numbers
Previous Message Jet Zhang 2022-04-27 14:52:42 psql emit WARNING if built with option --with-extra-version and the option only contains numbers