Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregate ¶ added in v1.2.0
type Aggregate struct {
Name string
Parameters []Parameter
Returns string
StateType string
Transition string
Final string
Combine string
InitCond string
HasInitCond bool
}
Aggregate is an aggregate function that an extension provides.
type Control ¶
type Control struct {
DefaultVersion string
Comment string
Requires []string
Superuser bool
Trusted bool
Relocatable bool
Schema string
}
Control holds the information that an extension declares in its control file. https://www.postgresql.org/docs/15/extend-extensions.html#id-1.8.3.20.11
type Extension ¶
type Extension struct {
Name string
Control Control
Types []Type
Routines []Routine
Operators []Operator
Casts []Cast
Aggregates []Aggregate
}
Extension is a Postgres extension that Doltgres emulates.
type Operator ¶ added in v1.2.0
type Operator struct {
Symbol string
Left string
Right string
Routine string
Commutator string
Negator string
Hashes bool
Merges bool
}
Operator is an operator that an extension provides.
type Routine ¶
type Routine struct {
Name string
Symbol string
Parameters []Parameter
Returns string
Strict bool
Impl Function
}
Routine is a function that an extension provides. Symbol is its C link symbol, which is unique within the extension.
type Type ¶ added in v1.2.0
type Type struct {
Name string
Definition pgtypes.BaseTypeDefinition
Input string
Output string
Receive string
Send string
ModIn string
ModOut string
}
Type is a base type that an extension provides. Definition carries every option except the support functions, which are named here.
Click to show internal directories.
Click to hide internal directories.