DOCS = README.londiste
FUNCS = $(wildcard functions/*.sql)
-SRCS = structure/tables.sql structure/types.sql $(FUNCS)
+SRCS = structure/tables.sql structure/grants.sql structure/types.sql $(FUNCS)
REGRESS = londiste_install londiste_denytrigger londiste_provider londiste_subscriber
REGRESS_OPTS = --load-language=plpythonu --load-language=plpgsql
--- /dev/null
+
+grant usage on schema londiste to public;
+grant select on londiste.provider_table to public;
+grant select on londiste.completed to public;
+grant select on londiste.link to public;
+grant select on londiste.subscriber_table to public;
+
set default_with_oids = 'off';
create schema londiste;
-grant usage on schema londiste to public;
create table londiste.provider_table (
nr serial not null,
--- /dev/null
+
+grant usage on schema pgq to public;
+grant select on table pgq.consumer to public;
+grant select on table pgq.queue to public;
+grant select on table pgq.tick to public;
+grant select on table pgq.queue to public;
+grant select on table pgq.subscription to public;
+grant select on table pgq.event_template to public;
+grant select on table pgq.retry_queue to public;
+grant select on table pgq.failed_queue to public;
\i structure/tables.sql
+\i structure/grants.sql
\i structure/types.sql
\i structure/func_internal.sql
\i structure/func_public.sql
-- ----------------------------------------------------------------------
set client_min_messages = 'warning';
+set default_with_oids = 'off';
-- drop schema if exists pgq cascade;
create schema pgq;
-grant usage on schema pgq to public;
-- ----------------------------------------------------------------------
-- Table: pgq.consumer