File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -16,34 +16,40 @@ This extension is compatible with PostgreSQL [11](https://github.com/postgrespro
1616
1717## Installation
1818
19- 1 ) Get latest PostgreSQL sources:
19+ 1 ) Get latest ` ptrack ` sources:
20+
21+ ``` shell
22+ git clone https://github.com/postgrespro/ptrack.git
23+ ```
24+
25+ 2 ) Get latest PostgreSQL sources:
2026
2127``` shell
2228git clone https://github.com/postgres/postgres.git -b REL_12_STABLE && cd postgres
2329```
2430
25- 2 ) Apply PostgreSQL core patch:
31+ 3 ) Apply PostgreSQL core patch:
2632
2733``` shell
28- git apply -3 ptrack/patches/REL_12_STABLE-ptrack-core.diff
34+ git apply -3 ../ ptrack/patches/REL_12_STABLE-ptrack-core.diff
2935```
3036
31- 3 ) Compile and install PostgreSQL
37+ 4 ) Compile and install PostgreSQL
3238
33- 4 ) Set ` ptrack.map_size ` (in MB)
39+ 5 ) Set ` ptrack.map_size ` (in MB)
3440
3541``` shell
3642echo " shared_preload_libraries = 'ptrack'" >> postgres_data/postgresql.conf
3743echo " ptrack.map_size = 64" >> postgres_data/postgresql.conf
3844```
3945
40- 5 ) Compile and install ` ptrack ` extension
46+ 6 ) Compile and install ` ptrack ` extension
4147
4248``` shell
4349USE_PGXS=1 make -C /path/to/ptrack/ install
4450```
4551
46- 6 ) Run PostgreSQL and create ` ptrack ` extension
52+ 7 ) Run PostgreSQL and create ` ptrack ` extension
4753
4854``` sql
4955postgres= # CREATE EXTENSION ptrack;
You can’t perform that action at this time.
0 commit comments