postgres

package
v0.0.0-...-6608488 Latest Latest
Warning

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

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

Documentation

Overview

Package postgres implements the Camlistore index storage abstraction on top of Postgres.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(host, user, password, dbname, sslmode 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