installPgDeps installs shared libraries required by PostgreSQL extensions at runtime (e.g. libossp-uuid16 for uuid-ossp).
()
| 248 | // installPgDeps installs shared libraries required by PostgreSQL extensions at |
| 249 | // runtime (e.g. libossp-uuid16 for uuid-ossp). |
| 250 | func installPgDeps() error { |
| 251 | log.Println("installing postgresql runtime dependencies") |
| 252 | if err := run("sudo", "apt-get", "install", "-y", "--no-install-recommends", "libossp-uuid16"); err != nil { |
| 253 | return fmt.Errorf("apt-get install libossp-uuid16: %w", err) |
| 254 | } |
| 255 | return nil |
| 256 | } |
| 257 | |
| 258 | // supportedPlatforms returns a comma-separated list of supported platforms. |
| 259 | func supportedPlatforms() string { |
no test coverage detected