dart_postgresql
dart_postgresql copied to clipboard
Dart Postgresql database library.
https://pub.dartlang.org/packages/postgresql @tomyeh @pisabev @Fox32 Let me know if you have any issues. Change log: A new connection pool with more configuration options. Support for json and timestamptz types. Utc time...
Currently connection leak detection can destroy a connection in busy state if the query exceeds the "leakDetectionThreshold" timeout. I have tried this code in place of "idleTimeout" property just to...
A possible fix for #62. Usage: ``` import 'package:postgresql/postgresql.dart'; main() async { var uri = 'postgres://test:test@localhost:5432/test'; var connection = await connect(uri); final stream = connection.listen('test'); var sub; sub = stream.listen((e)...
In reference to https://github.com/xxgreg/dart_postgresql/issues/59. Sorry my editor was set to remove trailing whitespace. The real change is around line 280.
the _MSG_NOTIFICATION_RESPONSE is defined in the code, but the message type is not implemented. There are a few ways to implement this, but simply providing a conn.listen("channel") that returns a...
I want to store binary data in a postgres database. For space saving I don't want to store it as a text field (base64 encoded). So I created a column...
Please forgive me in advance for this rush job as I literally only spent less than 30 minutes on this, but it seems that the current driver drops milliseconds from...
Typeconverter.dart Line: 163 Change to: ``` if (value is num) { ... var n = value.toString(); return "'$n'"; } ``` Also note doc comment is wrong. //FIXME can probably simplify...
https://github.com/brettwooldridge/HikariCP/wiki/Codahale-Metrics
Will throw null error, if sending terminate message throws. ``` Future flushing; try { var msg = new MessageBuffer(); msg.addByte(_MSG_TERMINATE); msg.addInt32(0); msg.setLength(); _socket.add(msg.buffer); flushing = _socket.flush(); } on Exception catch...