pgear/README

25 lines
931 B
Plaintext

This is the README file for the pgear program.
Copyright (C) Nick <barnold@tilde.club>
pgear is intended to simplify the use of PostgreSQL notification
events. It listens for an event and in response to each occurrence of
the event, performs an action. The action consists of running a
command with the function system(3) or of running SQL, at your option.
Possible use cases:
- The cached value of some lengthy calculation has been cleared; the
response is to perform the calculation and put the new value in
cache.
- A new customer signed up on your web site; the response is to send
her an email.
- Stock of a product fell below a threshold; the response is to
transmit a purchase order to the supplier.
See the file INSTALL for building and installation instructions.
pgear is free software. See the file COPYING for copying conditions.
Your questions and comments are welcome at <barnold@tilde.club>.