summaryrefslogtreecommitdiff
path: root/libpq/libpq/version.h.in
blob: 0dec4919558948d83000359a2e33a1d484bbaeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */