Indicate Postgres schema requirement #1461
Open
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://min.io/docs/minio/linux/reference/minio-server/settings/notifications/postgresql.html#minio-server-envvar-bucket-notification-postgresql
It seems that minio previously inferred the db schema from the string passed e.g.
minio.minioevents
, however. In the current minio server, we need to independently specify a db schema in order to setup postgres notifications else we hitpq: no schema has been selected to create in (*pq.Error)
. I believe that the documentation should change to reflect this.@docs team: Please help me communicate this appropriately. Some more documentation is needed to make this clear.
@ravind This is the commit which introduced the change. minio/minio@701da12 - this is the release https://github.com/minio/minio/releases/tag/RELEASE.2024-04-28T17-53-50Z
I understand the commit is for further sanitization of the sql inputs - however it also forces the user to perform the above command modifications.
e.g.
or