use lib/pq for postgres
parent
2d1c98022f
commit
1feff96db8
10
README.md
10
README.md
|
@ -145,7 +145,15 @@ Imposm3 uses the following libraries. `go get` will fetch these:
|
||||||
- <https://github.com/mattn/go-sqlite3>
|
- <https://github.com/mattn/go-sqlite3>
|
||||||
- <https://code.google.com/p/goprotobuf/proto>
|
- <https://code.google.com/p/goprotobuf/proto>
|
||||||
- <https://code.google.com/p/goprotobuf/protoc-gen-go>
|
- <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
|
#### Other
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package postgis
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
pq "github.com/olt/pq"
|
pq "github.com/lib/pq"
|
||||||
"imposm3/database"
|
"imposm3/database"
|
||||||
"imposm3/element"
|
"imposm3/element"
|
||||||
"imposm3/logging"
|
"imposm3/logging"
|
||||||
|
|
Loading…
Reference in New Issue