Skip to content

Commit

Permalink
Add Postgres 14 to the installation instructions
Browse files Browse the repository at this point in the history
Refer to the latest Postgres version in the instructions.
  • Loading branch information
eulerto committed Jan 26, 2022
1 parent a623001 commit 64f4375
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ This extension is supported on [those platforms](http://www.postgresql.org/docs/
In Red Hat/CentOS:

```
$ sudo yum install wal2json13
$ sudo yum install wal2json14
```

In Debian/Ubuntu:

```
$ sudo apt-get install postgresql-13-wal2json
$ sudo apt-get install postgresql-14-wal2json
```

You can also keep up with the latest fixes and features cloning the Git repository.
Expand All @@ -35,36 +35,36 @@ $ git clone https://github.com/eulerto/wal2json.git
Unix based Operating Systems
----------------------------

Before installing **wal2json**, you should have PostgreSQL 9.4+ installed (including the header files). If PostgreSQL is not in your search path, add it. If you are using [PostgreSQL yum repository](https://yum.postgresql.org), install `postgresql13-devel` and add `/usr/pgsql-13/bin` to your search path (yum uses `13, 12, 11, 10, 96 or 95`). If you are using [PostgreSQL apt repository](https://wiki.postgresql.org/wiki/Apt), install `postgresql-server-dev-13` and add `/usr/lib/postgresql/13/bin` to your search path. (apt uses `13, 12, 11, 10, 9.6 or 9.5`).
Before installing **wal2json**, you should have PostgreSQL 9.4+ installed (including the header files). If PostgreSQL is not in your search path, add it. If you are using [PostgreSQL yum repository](https://yum.postgresql.org), install `postgresql14-devel` and add `/usr/pgsql-14/bin` to your search path (yum uses `14, 13, 12, 11, 10, 96 or 95`). If you are using [PostgreSQL apt repository](https://wiki.postgresql.org/wiki/Apt), install `postgresql-server-dev-14` and add `/usr/lib/postgresql/14/bin` to your search path. (apt uses `14, 13, 12, 11, 10, 9.6 or 9.5`).

If you compile PostgreSQL by yourself and install it in `/home/euler/pg13`:
If you compile PostgreSQL by yourself and install it in `/home/euler/pg14`:

```
$ tar -zxf wal2json-wal2json_2_4.tar.gz
$ cd wal2json-wal2json_2_4
$ export PATH=/home/euler/pg13/bin:$PATH
$ export PATH=/home/euler/pg14/bin:$PATH
$ make
$ make install
```

If you are using [PostgreSQL yum repository](https://yum.postgresql.org):

```
$ sudo yum install postgresql13-devel
$ sudo yum install postgresql14-devel
$ tar -zxf wal2json-wal2json_2_4.tar.gz
$ cd wal2json-wal2json_2_4
$ export PATH=/usr/pgsql-13/bin:$PATH
$ export PATH=/usr/pgsql-14/bin:$PATH
$ make
$ make install
```

If you are using [PostgreSQL apt repository](https://wiki.postgresql.org/wiki/Apt):

```
$ sudo apt-get install postgresql-server-dev-13
$ sudo apt-get install postgresql-server-dev-14
$ tar -zxf wal2json-wal2json_2_4.tar.gz
$ cd wal2json-wal2json_2_4
$ export PATH=/usr/lib/postgresql/13/bin:$PATH
$ export PATH=/usr/lib/postgresql/14/bin:$PATH
$ make
$ make install
```
Expand Down

0 comments on commit 64f4375

Please sign in to comment.