@@ -5,8 +5,8 @@ Read [README.md](https://github.com/powa-team/powa/blob/master/README.md) and
5
5
[ the official documentation] ( http://powa.readthedocs.io/ ) for further details
6
6
about PoWA.
7
7
8
- PoWA requires PostgreSQL 9.4 or more. This documentation assumes you're using
9
- the 9.4 version of PostgreSQL.
8
+ PoWA requires PostgreSQL 9.5 or more. This documentation assumes you're using
9
+ the version 15 of PostgreSQL.
10
10
11
11
The following documentation describes the detailed installation steps to install
12
12
PoWA.
@@ -18,23 +18,23 @@ Download powa-archivist from the website
18
18
The latest stable version should be used. It can be downloaded from
19
19
[ github] ( https://github.com/powa-team/powa-archivist/releases/latest ) .
20
20
21
- This documentation assumes that the latest version is 3.0.0 , and you downloaded
21
+ This documentation assumes that the version is 4.2.2 , and you downloaded
22
22
the .zip file.
23
23
24
24
Unpack the downloaded file
25
25
--------------------------
26
26
27
27
```
28
28
cd /usr/src
29
- unzip powa-REL_3_0_0 .zip
29
+ unzip powa-REL_4_2_2 .zip
30
30
```
31
31
32
32
Compile and install the software
33
33
--------------------------------
34
34
35
35
Before proceeding, be sure to have a compiler installed and the appropriate PostgreSQL development packages. Something like
36
36
```
37
- apt-get install postgresql-server-dev-9.4
37
+ apt-get install postgresql-server-dev-15
38
38
```
39
39
or
40
40
```
@@ -43,14 +43,14 @@ yum install postgresql94-devel
43
43
44
44
Then:
45
45
```
46
- cd /usr/src/powa-REL_3_0_0
46
+ cd /usr/src/powa-REL_4_2_2
47
47
make
48
48
```
49
49
50
50
If everything goes fine, you will have this kind of output :
51
51
```
52
- gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -I. -I. -I/home/thomas/postgresql/postgresql-9.3.4/include/server -I/home/thomas/postgresql/postgresql-9.4.4/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o powa.o powa.c
53
- gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -L/home/thomas/postgresql/postgresql-9.3.4/lib -Wl,--as-needed -Wl,-rpath,'/home/thomas/postgresql/postgresql-9.4.4/lib',--enable-new-dtags -shared -o powa.so powa.o
52
+ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -I. [...] -c -o powa.o powa.c
53
+ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic [...] -shared -o powa.so powa.o
54
54
```
55
55
56
56
Install the software :
@@ -67,14 +67,14 @@ make install
67
67
68
68
It should output something like the following :
69
69
```
70
- /bin/mkdir -p '/usr/pgsql-9.4 /share/extension'
71
- /bin/mkdir -p '/usr/pgsql-9.4 /share/extension'
72
- /bin/mkdir -p '/usr/pgsql-9.4 /lib'
73
- /bin/mkdir -p '/usr/pgsql-9.4 /share/doc/extension'
74
- /usr/bin/install -c -m 644 ./powa.control '/usr/pgsql-9.4 /share/extension/'
75
- /usr/bin/install -c -m 644 ./powa--2.0.1.sql ./powa--2.0-2.0.1.sql ./powa--3.0.0.sql '/usr/pgsql-9.4 /share/extension/'
76
- /usr/bin/install -c -m 755 powa.so '/usr/pgsql-9.4 /postgresql-9.4.4 /lib/'
77
- /usr/bin/install -c -m 644 ./README.md '/usr/pgsql-9.4 /share/doc/extension/'
70
+ /bin/mkdir -p '/usr/pgsql-15 /share/extension'
71
+ /bin/mkdir -p '/usr/pgsql-15 /share/extension'
72
+ /bin/mkdir -p '/usr/pgsql-15 /lib'
73
+ /bin/mkdir -p '/usr/pgsql-15 /share/doc/extension'
74
+ /usr/bin/install -c -m 644 ./powa.control '/usr/pgsql-15 /share/extension/'
75
+ /usr/bin/install -c -m 644 ./powa--2.0.1.sql ./powa--2.0-2.0.1.sql ./powa--3.0.0.sql '/usr/pgsql-15 /share/extension/'
76
+ /usr/bin/install -c -m 755 powa.so '/usr/pgsql-15 /postgresql-15.7 /lib/'
77
+ /usr/bin/install -c -m 644 ./README.md '/usr/pgsql-15 /share/doc/extension/'
78
78
```
79
79
80
80
@@ -124,7 +124,7 @@ Change the `shared_preload_libraries` appropriately :
124
124
shared_preload_libraries = 'powa,pg_stat_statements'# (change requires restart)
125
125
```
126
126
127
- If possible (check with pg_test_timing), activate track_io_timing on your instance, in postgresql.conf :
127
+ If possible (check with pg_test_timing), activate track_io_timing on your instance, in postgresql.conf:
128
128
129
129
```
130
130
track_io_timing = on
@@ -174,5 +174,5 @@ update to PoWA 3.0.0. In this case, you need to drop and create the extension.
174
174
Next, you will need to restart PostgreSQL in order to take account of the
175
175
updated background worker. As root, run the following command :
176
176
```
177
- service postgresql-9.4 restart
177
+ service postgresql-15 restart
178
178
```
0 commit comments