You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once you have `pg_probackup` installed, complete [the setup](https://github.com/postgrespro/pg_probackup/blob/master/Documentation.md#installation-and-setup).
119
154
120
155
## Building from source
121
156
### Linux
122
157
123
-
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. To install `pg_probackup`, execute this in the module's directory:
158
+
To compile `pg_probackup`, you must have a PostgreSQL installation and raw source tree. Execute this in the module's directory:
124
159
125
160
```shell
126
161
make USE_PGXS=1 PG_CONFIG=<path_to_pg_config> top_srcdir=<path_to_PostgreSQL_source_tree>
127
162
```
163
+
164
+
The alternative way, without using the PGXS infrastructure, is to place `pg_probackup` source directory into `contrib` directory and build it there. Example:
165
+
166
+
```shell
167
+
cd<path_to_PostgreSQL_source_tree>&& git clone https://github.com/postgrespro/pg_probackup contrib/pg_probackup &&cd contrib/pg_probackup && make
168
+
```
169
+
128
170
### Windows
129
171
130
172
Currently pg_probackup can be build using only MSVC 2013.
0 commit comments