postgres

package
v0.0.0-...-10d000d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2013 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(host, user, password, dbname string) (index.Storage, error)

NewStorage returns an index.Storage implementation of the described PostgreSQL database. This exists mostly for testing and does not initialize the schema.

func SQLCreateTables

func SQLCreateTables() []string

TODO(mpl): use hstore

func SQLDefineReplace

func SQLDefineReplace() []string

func SchemaVersion

func SchemaVersion() int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL