You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM postgres:16.5-bullseye
# Install dependencies and wal2json
RUN apt-get update && \
apt-get install -y gcc git make postgresql-server-dev-16 && \
git clone https://github.com/eulerto/wal2json.git /wal2json && \
cd /wal2json && make && make install && cd .. && \
rm -rf /wal2json && \
apt-get remove --purge -y gcc git make postgresql-server-dev-16 && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Expose PostgreSQL port
EXPOSE 5432
# Default command
CMD ["postgres"]
after that i run CREATE EXTENSION IF NOT EXISTS wal2json;
i have error Database error:
ERROR: extension "wal2json" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/wal2json.control": No such file or directory.
HINT: The extension must first be installed on the system where PostgreSQL is running.
DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E0A000), message: "extension "wal2json" is not available", detail: Some("Could not open extension control file "/usr/share/postgresql/16/extension/wal2json.control": No such file or directory."), hint: Some("The extension must first be installed on the system where PostgreSQL is running."), position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("extension.c"), line: Some(543), routine: Some("parse_extension_control_file") }
The text was updated successfully, but these errors were encountered:
my docker file:
after that i run
CREATE EXTENSION IF NOT EXISTS wal2json;
i have error Database error:
ERROR: extension "wal2json" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/16/extension/wal2json.control": No such file or directory.
HINT: The extension must first be installed on the system where PostgreSQL is running.
DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E0A000), message: "extension "wal2json" is not available", detail: Some("Could not open extension control file "/usr/share/postgresql/16/extension/wal2json.control": No such file or directory."), hint: Some("The extension must first be installed on the system where PostgreSQL is running."), position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("extension.c"), line: Some(543), routine: Some("parse_extension_control_file") }
The text was updated successfully, but these errors were encountered: