mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
## Problem There are two cloud's features that require extra compute endpoints. 1. We are running pg_dump to get DB schemas. Currently, we are using a special service for this. But it would be great to execute pg_dump in an isolated environment. And we already have such an environment, it's our compute! And likely enough pg_dump already exists there too! (see https://github.com/neondatabase/cloud/issues/11644#issuecomment-2084617832) 2. We need to have a way to get databases and roles from compute after time travel (see https://github.com/neondatabase/cloud/issues/12109) ## Summary of changes It adds two API endpoints to compute_ctl HTTP API that target both of the aforementioned cases. --------- Co-authored-by: Tristan Partin <tristan@neon.tech>
20 lines
416 B
Rust
20 lines
416 B
Rust
//! Various tools and helpers to handle cluster / compute node (Postgres)
|
|
//! configuration.
|
|
#![deny(unsafe_code)]
|
|
#![deny(clippy::undocumented_unsafe_blocks)]
|
|
pub mod checker;
|
|
pub mod config;
|
|
pub mod configurator;
|
|
pub mod http;
|
|
#[macro_use]
|
|
pub mod logger;
|
|
pub mod catalog;
|
|
pub mod compute;
|
|
pub mod extension_server;
|
|
pub mod monitor;
|
|
pub mod params;
|
|
pub mod pg_helpers;
|
|
pub mod spec;
|
|
pub mod swap;
|
|
pub mod sync_sk;
|