Skip to content

Commit a35bba4

Browse files
committed
Initial commit implementing the schema requirement
1 parent 89bc282 commit a35bba4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/administration/monitoring/publish-events-to-postgresql.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ variables *or* by setting runtime configuration settings.
5757
:mc:`minio server` process applies the specified settings on its
5858
next startup.
5959

60-
The following example code sets *all* environment variables
60+
The following example code sets *all* environment variables
6161
related to configuring a PostgreSQL service endpoint. The minimum
6262
*required* variables are:
6363

@@ -71,7 +71,7 @@ variables *or* by setting runtime configuration settings.
7171
:class: copyable
7272
7373
set MINIO_NOTIFY_POSTGRES_ENABLE_<IDENTIFIER>="on"
74-
set MINIO_NOTIFY_POSTGRES_CONNECTION_STRING_<IDENTIFIER>="host=postgresql-endpoint.example.net port=4222"
74+
set MINIO_NOTIFY_POSTGRES_CONNECTION_STRING_<IDENTIFIER>="options='-c search_path=minio' host=postgresql-endpoint.example.net port=4222"
7575
set MINIO_NOTIFY_POSTGRES_TABLE_<IDENTIFIER>="minioevents"
7676
set MINIO_NOTIFY_POSTGRES_FORMAT_<IDENTIFIER>="namespace|access"
7777
set MINIO_NOTIFY_POSTGRES_MAX_OPEN_CONNECTIONS_<IDENTIFIER>="2"
@@ -85,7 +85,7 @@ variables *or* by setting runtime configuration settings.
8585
:class: copyable
8686
8787
export MINIO_NOTIFY_POSTGRES_ENABLE_<IDENTIFIER>="on"
88-
export MINIO_NOTIFY_POSTGRES_CONNECTION_STRING_<IDENTIFIER>="host=postgresql-endpoint.example.net port=4222"
88+
export MINIO_NOTIFY_POSTGRES_CONNECTION_STRING_<IDENTIFIER>="options='-c search_path=minio' host=postgresql-endpoint.example.net port=4222"
8989
export MINIO_NOTIFY_POSTGRES_TABLE_<IDENTIFIER>="minioevents"
9090
export MINIO_NOTIFY_POSTGRES_FORMAT_<IDENTIFIER>="namespace|access"
9191
export MINIO_NOTIFY_POSTGRES_MAX_OPEN_CONNECTIONS_<IDENTIFIER>="2"

0 commit comments

Comments
 (0)