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
36
37
38
39
40
41
42
43
44
45
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPostgresKeyDesc {
    #[prost(uint32, tag = "1")]
    pub oid: u32,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(uint32, repeated, tag = "3")]
    pub cols: ::prost::alloc::vec::Vec<u32>,
    #[prost(bool, tag = "4")]
    pub is_primary: bool,
    #[prost(bool, tag = "5")]
    pub nulls_not_distinct: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPostgresTableDesc {
    #[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 oid: u32,
    #[prost(message, repeated, tag = "4")]
    pub columns: ::prost::alloc::vec::Vec<ProtoPostgresColumnDesc>,
    #[prost(message, repeated, tag = "5")]
    pub keys: ::prost::alloc::vec::Vec<ProtoPostgresKeyDesc>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPostgresColumnDesc {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(uint32, tag = "2")]
    pub type_oid: u32,
    #[prost(int32, tag = "3")]
    pub type_mod: i32,
    #[prost(bool, tag = "4")]
    pub nullable: bool,
    /// This field does not need to be optional, but was originally marked as
    /// optional when it was added, and the migration required to remove the
    /// optional marker is more convoluted than it's worth.
    #[prost(uint32, optional, tag = "6")]
    pub col_num: ::core::option::Option<u32>,
}