Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresqlServerHarness ¶
type PostgresqlServerHarness struct {
// contains filtered or unexported fields
}
sqllogictest harness for postgres databases.
func NewPostgresqlHarness ¶
func NewPostgresqlHarness(dsn string) *PostgresqlServerHarness
NewPostgresqlHarness returns a new Postgres test harness for the data source name given. Panics if it cannot open a connection using the DSN.
func (*PostgresqlServerHarness) EngineStr ¶
func (h *PostgresqlServerHarness) EngineStr() string
func (*PostgresqlServerHarness) ExecuteQuery ¶
func (h *PostgresqlServerHarness) ExecuteQuery(statement string) (schema string, results []string, err error)
See Harness.ExecuteQuery
func (*PostgresqlServerHarness) ExecuteStatement ¶
func (h *PostgresqlServerHarness) ExecuteStatement(statement string) error
See Harness.ExecuteStatement
func (*PostgresqlServerHarness) Init ¶
func (h *PostgresqlServerHarness) Init() error
Click to show internal directories.
Click to hide internal directories.