first working-ish Postgres backend

Subcommits:

implement iterator and remove ResultTree

add Err() to sql

remove redundant and less helpful indices, change fillfactor, and use COPY FROM
This commit is contained in:
Barak Michener 2015-04-09 17:28:41 -04:00
parent 17c636ad29
commit 3f391a782c
6 changed files with 643 additions and 2 deletions

View file

@ -281,9 +281,9 @@ func (wk *worker) runIterator(it graph.Iterator) {
if glog.V(2) {
b, err := json.MarshalIndent(it.Describe(), "", " ")
if err != nil {
glog.Infof("failed to format description: %v", err)
glog.V(2).Infof("failed to format description: %v", err)
} else {
glog.Infof("%s", b)
glog.V(2).Infof("%s", b)
}
}
for {