File: func_public.sql

package info (click to toggle)
skytools 2.1.13-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,060 kB
  • sloc: sql: 6,723; python: 6,654; ansic: 2,841; makefile: 349; sh: 281
file content (36 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-- Section: Public Functions

-- Group: Queue creation

\i functions/pgq.create_queue.sql
\i functions/pgq.drop_queue.sql

-- Group: Event publishing

\i functions/pgq.insert_event.sql
\i functions/pgq.current_event_table.sql

-- Group: Subscribing to queue

\i functions/pgq.register_consumer.sql
\i functions/pgq.unregister_consumer.sql

-- Group: Batch processing

\i functions/pgq.next_batch.sql
\i functions/pgq.get_batch_events.sql
\i functions/pgq.event_failed.sql
\i functions/pgq.event_retry.sql
\i functions/pgq.finish_batch.sql

-- Group: General info functions

\i functions/pgq.get_queue_info.sql
\i functions/pgq.get_consumer_info.sql
\i functions/pgq.version.sql
\i functions/pgq.get_batch_info.sql

-- Group: Failed queue browsing

\i functions/pgq.failed_queue.sql