Skip to content

Commit

Permalink
Merge branch 'ce'
Browse files Browse the repository at this point in the history
  • Loading branch information
postgres-dev committed Nov 7, 2023
2 parents 5d371bc + 68ca717 commit d427f73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ postgres=# SELECT * FROM ptrack_get_change_stat('0/285C8C8');

## Upgrading

Usually, you have to only install new version of `ptrack` and do `ALTER EXTENSION 'ptrack' UPDATE;`. However, some specific actions may be required as well:
Usually, you have to only install new version of `ptrack` and do `ALTER EXTENSION ptrack UPDATE;`. However, some specific actions may be required as well:

#### Upgrading from 2.0.0 to 2.1.*:

* Put `shared_preload_libraries = 'ptrack'` into `postgresql.conf`.
* Rename `ptrack_map_size` to `ptrack.map_size`.
* Do `ALTER EXTENSION 'ptrack' UPDATE;`.
* Do `ALTER EXTENSION ptrack UPDATE;`.
* Restart your server.

#### Upgrading from 2.1.* to 2.2.*:
Expand All @@ -143,14 +143,14 @@ Since version 2.2 we use a different algorithm for tracking changed pages. Thus,
* Update ptrack binaries
* Remove global/ptrack.map.mmap if it exist in server data directory
* Start server
* Do `ALTER EXTENSION 'ptrack' UPDATE;`.
* Do `ALTER EXTENSION ptrack UPDATE;`.

#### Upgrading from 2.3.* to 2.4.*:

* Stop your server
* Update ptrack binaries
* Start server
* Do `ALTER EXTENSION 'ptrack' UPDATE;`.
* Do `ALTER EXTENSION ptrack UPDATE;`.

## Limitations

Expand Down

0 comments on commit d427f73

Please sign in to comment.