Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Using Listen Leads To Crashes #51

Open
e450 opened this issue Jun 20, 2017 · 0 comments
Open

Using Listen Leads To Crashes #51

e450 opened this issue Jun 20, 2017 · 0 comments

Comments

@e450
Copy link

e450 commented Jun 20, 2017

Libpq docs say connections should not be shared between threads.

Some example error messages:
message type 0x31 arrived from server while idle
message type 0x32 arrived from server while idle
message type 0x54 arrived from server while idle
PostgreSQL Error: Unknown

Also, the sleep(1) poll loop makes this useless for most things. It should use a select call because most of the time people are using notify for timely notification.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant