Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Make a pool of Postgres connections in Clojure
Clojure
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/net/briancarper
.gitignore
README.markdown
project.clj

README.markdown

postgres-pool

Set up a connection pool for a Postgres server.

Usage

(def db (postgres-pool {:host "localhost" :port 5432
                        :username "foo" :password "bar"
                        :database "mydb"}))
(clojure.contrib.sql/with-connection db ...)

Installation

Available at Clojars, add this to project.clj and use lein:

[postgres-pool "1.1.0"]

License

Eclipse Public License 1.0, see http://opensource.org/licenses/eclipse-1.0.php.

Something went wrong with that request. Please try again.