Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat: improve waiting for notifications by providing a timeout option (…
…#778) * Improves waiting for notifications by adding a timeout to the PGConnection.getNotifications() method. The change does not have any effects for users that don't use this functionality and the API remain fully backwards compatible.
- Loading branch information
Showing
with
286 additions
and 35 deletions.
- +16 −18 docs/documentation/head/listennotify.md
- +14 −0 pgjdbc/src/main/java/org/postgresql/PGConnection.java
- +10 −0 pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
- +4 −0 pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
- +66 −2 pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
- +6 −1 pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
- +170 −14 pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java
Oops, something went wrong.