Re: Remove win32ver.rc from version_stamp.pl - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remove win32ver.rc from version_stamp.pl
Date
Msg-id 10432.1583765753@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remove win32ver.rc from version_stamp.pl  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Remove win32ver.rc from version_stamp.pl  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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.)

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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: [Proposal] Global temporary tables
Next
From: Kuntal Ghosh
Date:
Subject: Re: backend type in log_line_prefix?