File tree Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Expand file tree Collapse file tree 5 files changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ .DS_Store
2
+ .python-version
3
+ venv /
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Unmodified Postgres with some useful plugins. Our goal with this repo is not to
21
21
| [ pgsql-http] ( https://github.com/pramsey/pgsql-http ) | HTTP client for Postgres. |
22
22
| [ plpgsql_check] ( https://github.com/okbob/plpgsql_check ) | Linter tool for PL/pgSQL. |
23
23
| [ pg-safeupdate] ( https://github.com/eradman/pg-safeupdate ) | Protect your data from accidental updates or deletes. |
24
+ | [ wal2json] ( https://github.com/eulerto/wal2json ) | JSON output plugin for logical replication decoding. |
24
25
| [ PL/Java] ( https://github.com/tada/pljava ) | Write in Java functions in Postgres. |
25
26
| [ plv8] ( https://github.com/plv8/plv8 ) | Write in Javascript functions in Postgres. |
26
27
Original file line number Diff line number Diff line change 25
25
- name : Install pg-safeupdate
26
26
import_tasks : tasks/postgres-extensions/09-pg-safeupdate.yml
27
27
28
+ - name : Install wal2json
29
+ apt :
30
+ pkg :
31
+ - " postgresql-{{ postgresql_version }}-wal2json"
32
+ update_cache : yes
33
+ cache_valid_time : 3600
34
+ install_recommends : no
35
+
28
36
# - name: Install timescaledb
29
37
# import_tasks: tasks/postgres-extensions/10-timescaledb.yml
30
38
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ FROM postgres:12
4
4
RUN apt-get update \
5
5
&& apt-get install postgresql-12-cron -y
6
6
7
+ # install wal2json
8
+ RUN apt-get update \
9
+ && apt-get install postgresql-$PG_MAJOR-wal2json -y
10
+
7
11
# install postgis
8
12
ENV POSTGIS_MAJOR 3
9
13
ENV POSTGIS_VERSION 3.0.0+dfsg-2~exp1.pgdg100+1
@@ -198,4 +202,4 @@ ENV LANGUAGE=en_US.UTF-8
198
202
ENV LANG=en_US.UTF-8
199
203
ENV LC_ALL=en_US.UTF-8
200
204
RUN mkdir -p /docker-entrypoint-initdb.d
201
- ADD ./mnt /docker-entrypoint-initdb.d/
205
+ ADD ./mnt /docker-entrypoint-initdb.d/
You can’t perform that action at this time.
0 commit comments