diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-30 22:37:25 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-12-06 15:11:04 +0300 |
commit | f1f39911e0d2d88c98eae96a3eb14a53c664206f (patch) | |
tree | 4cf4e3a84d895f59323d3b6ab4bfab38b3cab489 /libpq/libpq/version.h.in | |
parent | fc9499b8a7b7a3e350bfabf2cd6ae0bc13f04bea (diff) |
Upgrade to 12.1
Diffstat (limited to 'libpq/libpq/version.h.in')
-rw-r--r-- | libpq/libpq/version.h.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libpq/libpq/version.h.in b/libpq/libpq/version.h.in new file mode 100644 index 0000000..0dec491 --- /dev/null +++ b/libpq/libpq/version.h.in @@ -0,0 +1,17 @@ +/* file : libpq/version.h.in -*- C -*- + * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd + * license : PostgreSQL License; see accompanying COPYRIGHT file + */ + +#ifndef PG_MAJORVERSION /* Note: using the version macro itself. */ + +#define PG_VERSION "$libpq.version.major$.$libpq.version.minor$" + +/* + * For example, 120001 for 12.1. + */ +#define PG_VERSION_NUM (10000 * $libpq.version.major$ + $libpq.version.minor$) + +#define PG_MAJORVERSION "$libpq.version.major$" + +#endif /* PG_MAJORVERSION */ |