Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified
Date: 2015-08-28 09:17:31
Message-ID: alpine.DEB.2.10.1508281110260.16616@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> I've done the same using the output $(git describe --tags --dirty) -
> which will return something like REL9_5_ALPHA1-330-g8a7d070-dirty.

Looks good!

> That's still not perfect considering plpgsql and such,

ISTM That even for plpgsql it could be done, the stamp can be generated
when the shared object/dll is generated, and could be made available from
some inspection function.

> but it's pretty helpful.

Yep.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2015-08-28 10:20:41 Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan
Previous Message Shulgin, Oleksandr 2015-08-28 08:58:14 Re: psql - better support pipe line