GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SIMPLE_LOCAL_CONSUME(1)   SIMPLE_LOCAL_CONSUME(1)

simple_local_consumer3 - PgQ consumer that executes query for each row

simple_local_consumer3.py [switches] config.ini

For each event in batch it will execute query, filling event values into it.
Transactionality: query is executed in autocommit mode, completed batch is tracked in local file. It can be switched between nodes in cascaded queue.

Run simple_local_consumer3 --ini to see commented config template.

Following switches are common to all skytools.DBScript-based Python programs.
-h, --help
show help message and exit
-q, --quiet
make program silent
-v, --verbose
make program more verbose
-d, --daemon
make program go background
--ini
show commented template config file.
Following switches are used to control already running process. The pidfile is read from config then signal is sent to process id specified there.
-r, --reload
reload config (send SIGHUP)
-s, --stop
stop program safely (send SIGINT)
-k, --kill
kill program immidiately (send SIGTERM)
04/01/2014  

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.