postgresql/src
Tom Lane 544e758142 Make numeric form of PG version number readily available in Makefiles.
Expose PG_VERSION_NUM (e.g., "90600") as a Make variable; but for
consistency with the other Make variables holding similar info,
call the variable just VERSION_NUM not PG_VERSION_NUM.

There was some discussion of making this value available as a pg_config
value as well.  However, that would entail substantially more work than
this two-line patch.  Given that there was not exactly universal consensus
that we need this at all, let's just do a minimal amount of work for now.

Back-patch of commit a5d489ccb7, so that this
variable is actually useful for its intended purpose sometime before 2020.

Michael Paquier, reviewed by Pavel Stehule
2015-07-05 12:01:01 -04:00
..
backend Back-patch some minor bug fixes in GUC code. 2015-06-28 18:38:06 -04:00
bin Don't emit a spurious space at end of line in pg_dump of event triggers. 2015-07-02 12:53:05 +03:00
common Unlink static libraries before rebuilding them. 2015-03-01 13:06:39 -05:00
include Fix the logic for putting relations into the relcache init file. 2015-06-25 14:39:05 -04:00
interfaces Check for out of memory when allocating sqlca. 2015-06-15 14:22:54 +02:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:13:32 -05:00
pl PL/Perl: Add alternative expected file for Perl 5.22 2015-07-03 17:45:43 -04:00
port Truncate strings in tarCreateHeader() with strlcpy(), not sprintf(). 2015-06-21 20:05:11 -04:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Improve error message and hint for ALTER COLUMN TYPE can't-cast failure. 2015-06-12 11:54:03 -04:00
timezone Update time zone data files to tzdata release 2015d. 2015-05-15 19:35:58 -04:00
tools Revert error-throwing wrappers for the printf family of functions. 2015-05-19 18:16:58 -04:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Make numeric form of PG version number readily available in Makefiles. 2015-07-05 12:01:01 -04:00
Makefile.shlib Unlink static libraries before rebuilding them. 2015-03-01 13:06:39 -05:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00