Skip to content

Commit d3f0a16

Browse files
committed
Updated changelog + nits.
1 parent 5a3aa8a commit d3f0a16

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 3.4.5
4+
5+
- `close(force: true)` to indicate intent to force-close pending queries and resources. [#396](https://github.com/isoos/postgresql-dart/pull/396) by [davidmartos96](https://github.com/davidmartos96)
6+
37
## 3.4.4
48

59
- Fix: explicit closing of prepared statement portals in transactions to release table locks. [#393](https://github.com/isoos/postgresql-dart/pull/393)

lib/postgres.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ abstract class SessionExecutor {
209209

210210
/// Closes this session, cleaning up resources and forbiding further calls to
211211
/// [prepare] and [execute].
212+
///
212213
/// If [force] is set to true, the session will be closed immediately, instead
213214
/// of waiting for any pending queries to finish.
214215
Future<void> close({bool force = false});

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: postgres
22
description: PostgreSQL database driver. Supports statement reuse and binary protocol and connection pooling.
3-
version: 3.4.4
3+
version: 3.4.5
44
homepage: https://github.com/isoos/postgresql-dart
55
topics:
66
- sql

0 commit comments

Comments
 (0)