use lib/pq for postgres

master
Oliver Tonnhofer 2013-11-14 09:15:16 +01:00
parent 2d1c98022f
commit 1feff96db8
2 changed files with 10 additions and 2 deletions

View File

@ -145,7 +145,15 @@ Imposm3 uses the following libraries. `go get` will fetch these:
- <https://github.com/mattn/go-sqlite3>
- <https://code.google.com/p/goprotobuf/proto>
- <https://code.google.com/p/goprotobuf/protoc-gen-go>
- <https://github.com/olt/pq>
- <https://github.com/lib/pq>
For now you need to upgrade lib/pq to the bulk branch:
cd $GOPATH/src/github.com/lib/pq
git remote add olt https://github.com/olt/libpq.git
git fetch olt
git checkout olt/bulk
#### Other

View File

@ -3,7 +3,7 @@ package postgis
import (
"database/sql"
"fmt"
pq "github.com/olt/pq"
pq "github.com/lib/pq"
"imposm3/database"
"imposm3/element"
"imposm3/logging"