MCPcopy Create free account
hub / github.com/denodrivers/postgres / getMd5Configuration

Function getMd5Configuration

tests/config.ts:93–105  ·  view source on GitHub ↗
(tls: boolean)

Source from the content-addressed store, hash-verified

91};
92
93export const getMd5Configuration = (tls: boolean): TcpConfiguration => {
94 return {
95 applicationName: config.postgres_md5.applicationName,
96 database: config.postgres_md5.database,
97 hostname: config.postgres_md5.hostname,
98 host_type: "tcp",
99 options: {},
100 password: config.postgres_md5.password,
101 port: config.postgres_md5.port,
102 tls: tls ? enabled_tls : disabled_tls,
103 user: config.postgres_md5.users.md5,
104 };
105};
106
107export const getMd5SocketConfiguration = (): SocketConfiguration => {
108 return {

Callers 1

connection_test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected