feat(Postgres Node): Options keepAlive and keepAliveInitialDelayMillis (#9067)

This commit is contained in:
Michael Kret
2024-04-09 18:41:51 +03:00
committed by GitHub
parent c2f4d7d796
commit 58518b684b
16 changed files with 136 additions and 31 deletions

View File

@@ -35,3 +35,36 @@ export type QueriesRunner = (
items: INodeExecutionData[],
options: IDataObject,
) => Promise<INodeExecutionData[]>;
export type PostgresNodeOptions = {
nodeVersion?: number;
operation?: string;
cascade?: boolean;
connectionTimeout?: number;
delayClosingIdleConnection?: number;
queryBatching?: QueryMode;
queryReplacement?: string;
outputColumns?: string[];
largeNumbersOutput?: 'numbers' | 'text';
skipOnConflict?: boolean;
replaceEmptyStrings?: boolean;
};
export type PostgresNodeCredentials = {
sshAuthenticateWith: 'password' | 'privateKey';
host: string;
port: number;
database: string;
user: string;
password: string;
allowUnauthorizedCerts?: boolean;
ssl?: 'disable' | 'allow' | 'require' | 'verify' | 'verify-full';
sshTunnel?: boolean;
sshHost?: string;
sshPort?: number;
sshPostgresPort?: number;
sshUser?: string;
sshPassword?: string;
privateKey?: string;
passphrase?: string;
};