1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#[derive(Eq, serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PostgresTable {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub namespace: ::prost::alloc::string::String,
#[prost(uint32, tag="3")]
pub relation_id: u32,
#[prost(message, repeated, tag="4")]
pub columns: ::prost::alloc::vec::Vec<PostgresColumn>,
}
#[derive(Eq, serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PostgresColumn {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(int32, tag="2")]
pub type_oid: i32,
#[prost(int32, tag="3")]
pub type_mod: i32,
#[prost(bool, tag="4")]
pub nullable: bool,
#[prost(bool, tag="5")]
pub primary_key: bool,
}
#[derive(Eq, serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PostgresSourceDetails {
#[prost(message, repeated, tag="1")]
pub tables: ::prost::alloc::vec::Vec<PostgresTable>,
#[prost(string, tag="2")]
pub slot: ::prost::alloc::string::String,
}