GetTemplateDB gets a connection to the "template1" database on this instance
()
| 911 | |
| 912 | // GetTemplateDB gets a connection to the "template1" database on this instance |
| 913 | func (instance *Instance) GetTemplateDB() (*sql.DB, error) { |
| 914 | return instance.ConnectionPool().Connection("template1") |
| 915 | } |
| 916 | |
| 917 | // GetPgVersion queries the postgres instance to know the current version, parses it and memoize it for future uses |
| 918 | func (instance *Instance) GetPgVersion() (semver.Version, error) { |
nothing calls this directly
no test coverage detected