From 302949a3a1b11046d90b2854a557e401b84e2b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= Date: Wed, 2 Mar 2022 09:22:32 +0100 Subject: [PATCH] feat: support max lifetime --- package.json | 4 ++-- typescript/pg-subset.d.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5aeb61a1..d4cd1b58 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "dependencies": { "assert-options": "0.7.0", - "pg": "8.7.1", + "pg": "8.7.3", "pg-minify": "1.6.2", "spex": "3.2.0" }, @@ -53,7 +53,7 @@ "jasmine-node": "3.0.0", "jsdoc": "3.6.7", "JSONStream": "1.3.5", - "pg-query-stream": "4.2.1", + "pg-query-stream": "4.2.3", "tslint": "6.1.3", "typescript": "4.4.4" } diff --git a/typescript/pg-subset.d.ts b/typescript/pg-subset.d.ts index 71b79b6d..4850af1d 100644 --- a/typescript/pg-subset.d.ts +++ b/typescript/pg-subset.d.ts @@ -106,6 +106,7 @@ declare namespace pg { Promise?: any types?: ITypeOverrides allowExitOnIdle?: boolean + maxLifetimeSeconds?: number } // Type id-s supported by PostgreSQL, copied from: