Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs PostgresConnectInfo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module juptune.postgres.protocol.connection;

struct PostgresConnectInfo
{
    /++ VARIABLES ++/
    
    /// If not null , then this store is used to validate the cluster's server certificate. If null then the host platform's default store is used instead. 
    X509CertificateStore* customStore;
    /// The database to connect to. If null then the value of user is used as the database name. 
    const char[] databaseOrNull;
    /// The plaintext password to use if password authentication is required. 
    const char[] plaintextPassword;
    /// TLS negotiation mode. 
    PostgresTlsMode tlsMode;
    /// The username to connect as. 
    const char[] user;
    /// Policy for authenticating the server's certificate. 
    X509CertificateStore.SecurityPolicy x509Policy;
}

Documentation

Information for connecting to a Postgres instance.

Variables

Name Description
customStore

If not null, then this store is used to validate the cluster's server certificate. If nullthen the host platform's default store is used instead.

databaseOrNull

The database to connect to. If nullthen the value of useris used as the database name.

plaintextPassword

The plaintext password to use if password authentication is required.

tlsMode

TLS negotiation mode.

user

The username to connect as.

x509Policy

Policy for authenticating the server's certificate.