Am 06.01.2013 15:14, schrieb D'Arcy J.M. Cain:
The pgnotify method is a new feature so should we call it 4.1.1 or 4.2?
Better 4.1.1 to make it clear that it's a bugfix release. This also gives us some time to let pgnotify mature until we officially announce and document it in 4.2. We also need to give a small usage example somewhere and add a docstring for the DB method.
Btw, I think the name could be improved. As a class, pgnotify should start with an uppercase letter and we don't need that "pg" prefix as this is clear for methods of a Postgres driver. The name "notify" is also not really fitting. A name like "deferred" or "when" would be more suitable. And maybe we should add a method to run this in a thread or subprocess. Also, we should add support for sending payloads to the client, but this is easy (just add "extra" to the arg_dict).
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
