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

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified
Дата
Msg-id alpine.DEB.2.10.1508281110260.16616@sto
обсуждение исходный текст
Ответ на Re: patch: version_stamp.pl: Add Git commit info to version if 'git' is specified  (Andres Freund <andres@anarazel.de>)
Список 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.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Shulgin, Oleksandr"
Дата:
Сообщение: Re: psql - better support pipe line
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan