Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include SSL in postgres connection definition #3659

Merged
merged 1 commit into from Feb 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions types/index.d.ts
Expand Up @@ -13,6 +13,8 @@ import events = require('events');
import stream = require('stream');
import ResultTypes = require('./result');

import { ConnectionOptions } from "tls";

// # Generic type-level utilities

// If T is object then make it a partial otherwise fallback to any
Expand Down Expand Up @@ -1808,6 +1810,7 @@ declare namespace Knex {
statement_timeout?: false | number;
connectionTimeoutMillis?: number;
keepAliveInitialDelayMillis?: number;
ssl?: boolean | ConnectionOptions;
}

type RedshiftConnectionConfig = PgConnectionConfig;
Expand Down