Re: Remove win32ver.rc from version_stamp.pl
От | Peter Eisentraut |
---|---|
Тема | Re: Remove win32ver.rc from version_stamp.pl |
Дата | |
Msg-id | 67111310-fbdb-132d-05b1-9566a6b59e98@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Remove win32ver.rc from version_stamp.pl (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
On 2020-03-09 15:55, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: >> On 2020-03-01 23:51, Tom Lane wrote: >>> In general, while I'm on board with the idea, I wonder whether it >>> wouldn't be smarter to keep on defining PG_MAJORVERSION as a string, >>> and just add PG_MAJORVERSION_NUM alongside of it. > >> Agreed. Here is another patch. > > This version LGTM. (I can't actually test the Windows aspects > of this, but I assume you did.) committed > I'm wondering a little bit whether it'd be worth back-patching the > additions of the new #defines. That would cut about five years off > the time till they could be relied on by extensions. However, > I'm not sure anyone is eager to rely on them, so it may not be > worth the effort. I doubt external code really needs these symbols. You can always use PG_VERSION_NUM. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: