Documentation
¶
Overview ¶
Package embedpg starts one embedded Postgres per process for tests. Production packages do not import it. DRIVESYNC_STORE=postgres selects it; the default is sqlite, decided by the caller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropSchema ¶
DropSchema removes a test schema. It ignores errors so cleanup stays quiet.
func NewSchema ¶
func NewSchema() string
NewSchema returns a lowercase schema name unique to one test.
func Postgres ¶
func Postgres() bool
Postgres reports whether this process should open the Postgres metadata store.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.