Inherits Glom::ConnectionPoolBackends::Postgres.
List of all members.
Public Member Functions |
| | PostgresSelfHosted () |
| bool | get_self_hosting_active () const |
| | Return whether the self-hosted server is currently running.
|
| int | get_port () const |
| | Returns the port number the local postgres server is running on.
|
Static Public Member Functions |
| static bool | install_postgres (const SlotProgress& slot_progress) |
| | Try to install postgres on the distro, though this will require a distro-specific patch to the implementation.
|
Constructor & Destructor Documentation
| Glom::ConnectionPoolBackends::PostgresSelfHosted::PostgresSelfHosted |
( |
|
) |
|
Member Function Documentation
| int Glom::ConnectionPoolBackends::PostgresSelfHosted::get_port |
( |
|
) |
const |
Returns the port number the local postgres server is running on.
- Returns:
- The port number of the self-hosted server, or 0 if it is not running.
| bool Glom::ConnectionPoolBackends::PostgresSelfHosted::get_self_hosting_active |
( |
|
) |
const |
Return whether the self-hosted server is currently running.
- Returns:
- True if it is running, and false otherwise.
| bool Glom::ConnectionPoolBackends::PostgresSelfHosted::install_postgres |
( |
const SlotProgress& |
slot_progress |
) |
[static] |
Try to install postgres on the distro, though this will require a distro-specific patch to the implementation.
The documentation for this class was generated from the following files:
- connectionpool_backends/postgres_self.h
- connectionpool_backends/postgres_self.cc