lite-rpc/blockstore/src/block_stores/postgres/mod.rs

17 lines
509 B
Rust

pub mod postgres_block_store_query;
pub mod postgres_block_store_writer;
pub use postgres_config::PostgresSessionConfig;
pub use postgres_session::PostgresSession;
pub use postgres_session::PostgresWriteSession;
mod postgres_block;
mod postgres_config;
mod postgres_epoch;
mod postgres_session;
mod postgres_transaction;
// role for block store componente owner with full write access
pub const LITERPC_ROLE: &str = "r_literpc";
// role for accessing data
pub const LITERPC_QUERY_ROLE: &str = "ro_literpc";