-- Section: Internal Functions

-- Group: Low-level event handling

\i functions/pgq.batch_event_sql.sql
\i functions/pgq.batch_event_tables.sql
\i functions/pgq.event_retry_raw.sql

-- \i functions/pgq.insert_event_raw.sql
\i lowlevel/pgq_lowlevel.sql

-- Group: Ticker

\i functions/pgq.ticker.sql

-- Group: Periodic maintenence

\i functions/pgq.maint_retry_events.sql
\i functions/pgq.maint_rotate_tables.sql
\i functions/pgq.maint_tables_to_vacuum.sql

-- Group: Random utility functions

\i functions/pgq.grant_perms.sql
\i functions/pgq.force_tick.sql

