pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jet Zhang <jet.cx.zhang@hotmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: psql emit WARNING if built with option --with-extra-version and the option only contains numbers
Date: Wed, 27 Apr 2022 11:00:31 -0400
Message-ID: <384651.1651071631@sss.pgh.pa.us> (raw)
In-Reply-To: <OS3PR01MB60889FA73FC6DFA50EFA0D1DD5FA9@OS3PR01MB6088.jpnprd01.prod.outlook.com>
References: <OS3PR01MB60889FA73FC6DFA50EFA0D1DD5FA9@OS3PR01MB6088.jpnprd01.prod.outlook.com>

Jet Zhang <jet.cx.zhang@hotmail.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





view thread (3+ messages)  latest in thread

Message-ID: <384651.1651071631@sss.pgh.pa.us>
Permalink:  ../384651.1651071631@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/384651.1651071631@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jet.cx.zhang@hotmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: psql emit WARNING if built with option --with-extra-version and the option only contains numbers
  In-Reply-To: <384651.1651071631@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox