diff options
author | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2020-06-03 20:27:20 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2020-06-03 20:27:20 +0000 |
commit | fdfecee2044cd1ea80012cdf9f0b4cf96089deb0 (patch) | |
tree | 78c9b899df18041710e09d16cb78e7518e653846 /README.markdown | |
parent | b2a3f5508a52b87b9e556b30c26ab19fc0e4d591 (diff) | |
download | lem-postgres-fdfecee2044cd1ea80012cdf9f0b4cf96089deb0.tar.gz lem-postgres-fdfecee2044cd1ea80012cdf9f0b4cf96089deb0.tar.xz lem-postgres-fdfecee2044cd1ea80012cdf9f0b4cf96089deb0.zip |
Add support for asynchronous notifications
If a notification handler is set using
db:set_notifier(cb)
then the event loop will be kept alive until
db:close() is called or the event loop.
Prior to this a database connection would
never keep the event loop running.
https://www.postgresql.org/docs/current/libpq-notify.html
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'README.markdown')
0 files changed, 0 insertions, 0 deletions