Skip to content

billdozr/postgres-pool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.2.0"]

License

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

About

Make a pool of Postgres connections in Clojure

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%