Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidCatalog ¶ added in v0.2.0
IsInvalidCatalog returns true if passed a pq error indicating that the database does not exist.
func New ¶
New returns a new PostgreSQL database client. The default database name is an empty string. The underlying pq library will default to either using the value of PGDATABASE, or if unset, the hardcoded string 'postgres'. The sslmode defines the mode used to set up the connection for the provider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.