branch: externals/pq commit a03d2c2e9bc626c358c3b2f45b78352520b158cc Author: Andreas Seltenreich <seltenre...@gmx.de> Commit: Andreas Seltenreich <seltenre...@gmx.de>
Update README --- README.org | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index edb0e122e8..10f8fc0c41 100644 --- a/README.org +++ b/README.org @@ -1,9 +1,18 @@ An Emacs 25 module for accessing postgres via libpq. -Work-in-progress. It doesn't expose many libpq features yet, but -what's there should be crash-safe no matter what you do in the lisp -world. If you make it crash, please report. +It doesn't expose many libpq features yet, but what's there should be +crash-safe no matter what you do in the lisp world. I've been using +it half a year now for reading mail through my Gnus backend [[https://github.com/anse1/nnpg][nnpg]] +without incidents. -See [[./test.el]] for implemented functions. +See [[./test.el]] for implemented functions and examples how to use it. + +If you make it crash, please report. + +Note that =pq= silently converts bigints and numerics your queries +return to lisp floats because they don't fit into a lisp integer. +This looses precision on big values. If you need the full precision, +cast them to =text= and use, e.g., =calc-eval= to do arbitrary +precision things with them. [[https://api.travis-ci.org/anse1/emacs-libpq.svg]]