package
1.0.1
Repository: https://github.com/auxten/postgresql-parser.git
Documentation: pkg.go.dev

# Functions

MakeCompatibleDateFromDisk creates a Date from the number of days since the Unix epoch.
MakeDateFromPGEpoch creates a Date from the number of days since 2000-01-01.
MakeDateFromTime creates a Date from the specified time.
MakeDateFromUnixEpoch creates a Date from the number of days since the Unix epoch.
ParseDate converts a string into Date.
ParseTime converts a string into a time value on the epoch day.
ParseTimestamp converts a string into a timestamp.

# Constants

These are the various parsing modes that determine in which order we should look for years, months, and date.
These are the various parsing modes that determine in which order we should look for years, months, and date.
These are the various parsing modes that determine in which order we should look for years, months, and date.

# Variables

HighDate is the highest non-infinite Date.
LowDate is the lowest non-infinite Date.
NegInfDate is the negative infinity date.
PosInfDate is the positive infinity Date.
These are sentinel values for handling special values: https://www.postgresql.org/docs/10/static/datatype-datetime.html#DATATYPE-DATETIME-SPECIAL-TABLE.
TimeInfinity represents the "highest" possible time.
TimeNegativeInfinity represents the "lowest" possible time.

# Structs

Date is a postgres-compatible date implementation.

# Type aliases

ParseMode controls the resolution of ambiguous date formats such as `01/02/03`.