Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Quote ¶
Quote quotes the given Postgres identifier
https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
The implmentation is from pq.QuoteIdentifer(). It's copied to avoid a dependency on pq.
Types ¶
type Savepointer ¶
type Savepointer struct{}
Savepointer implements the savepointers.Savepointer interface for Postgres
func (Savepointer) Create ¶
func (sp Savepointer) Create(name string) string
Create creates a new savepoint with the given name
func (Savepointer) Release ¶
func (sp Savepointer) Release(name string) string
Release releases the named savepoint
https://www.postgresql.org/docs/current/sql-release-savepoint.html
func (Savepointer) Rollback ¶
func (sp Savepointer) Rollback(name string) string
Rollback rollsback the named savepoint
https://www.postgresql.org/docs/current/sql-rollback-to.html
Click to show internal directories.
Click to hide internal directories.