Documentation ¶
Index ¶
- Constants
- type LSN
- func (l LSN) Dec() string
- func (l LSN) Decimal() []byte
- func (l LSN) FormattedBytes() []byte
- func (l LSN) Hex() string
- func (l LSN) IsValid() bool
- func (l LSN) MarshalYAML() (interface{}, error)
- func (l *LSN) Parse(lsn string) error
- func (l *LSN) ParseHex(hexStr string) error
- func (l LSN) String() string
- func (l *LSN) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OID
Constants ¶
View Source
const ( ChInt8 = "Int8" ChInt16 = "Int16" ChInt32 = "Int32" ChInt64 = "Int64" ChUInt8 = "UInt8" ChUInt16 = "UInt16" ChUint32 = "UInt32" ChUint64 = "UInt64" ChFloat32 = "Float32" ChFloat64 = "Float64" ChFixedString = "FixedString" ChString = "String" ChDate = "Date" ChDateTime = "DateTime" ChDecimal = "Decimal" ChUUID = "UUID" ChUInt8Array = "Array(UInt8)" )
View Source
const ( PgSmallint = "smallint" PgInteger = "integer" PgBigint = "bigint" PgCharacterVarying = "character varying" PgVarchar = "varchar" PgText = "text" PgReal = "real" PgDoublePrecision = "double precision" PgTimestamp = "timestamp" PgTimestampWithTimeZone = "timestamp with time zone" PgTimestampWithoutTimeZone = "timestamp without time zone" PgDate = "date" PgTime = "time" PgTimeWithoutTimeZone = "time without time zone" PgTimeWithTimeZone = "time with time zone" PgInterval = "interval" PgBoolean = "boolean" PgDecimal = "decimal" PgNumeric = "numeric" PgCharacter = "character" PgChar = "char" PgJsonb = "jsonb" PgJson = "json" PgUuid = "uuid" PgBytea = "bytea" PgInet = "inet" //adjust specific PgAdjustIstore = "istore" PgAdjustBigIstore = "bigistore" PgAdjustAjBool = "ajbool" PgAdjustAjTime = "ajtime" PgAdjustAjDate = "ajdate" PgAdjustCountry = "country" PgAdjustDeviceType = "device_type" PgAdjustOsName = "os_name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LSN ¶
type LSN uint64
const (
InvalidLSN LSN = 0
)
func (LSN) FormattedBytes ¶
func (LSN) MarshalYAML ¶
func (*LSN) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.