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
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
I tried to use bulk_insert_events from the pgq library, but it does not work out of the box, even after applying the newgrants_pgq.sql permissions.
Since it is special command, I assume that only pgq_admin should be allowed to use it (or maybe pgq_writer as well). It can serve for writing tests for example, or in some special cases.
I worked around the issue by assigning additional grants to pgq_admin:
\i /usr/share/postgresql/9.3/contrib/newgrants_pgq.sqlGRANT INSERT ONpgq.event_template TO pgq_admin;
ALTER DEFAULT PRIVILEGES IN SCHEMA pgq GRANT USAGE ON SEQUENCES TO pgq_admin;
The text was updated successfully, but these errors were encountered:
florentx
changed the title
role pgq_adming cannot bulk_insert_events
role pgq_admin cannot bulk_insert_events
May 26, 2014
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to use
bulk_insert_events
from thepgq
library, but it does not work out of the box, even after applying thenewgrants_pgq.sql
permissions.Since it is special command, I assume that only
pgq_admin
should be allowed to use it (or maybepgq_writer
as well). It can serve for writing tests for example, or in some special cases.I worked around the issue by assigning additional grants to
pgq_admin
:The text was updated successfully, but these errors were encountered: