diff --git a/src/content/docs/hyperdrive/examples/connect-to-postgres/index.mdx b/src/content/docs/hyperdrive/examples/connect-to-postgres/index.mdx
index 2e736c79ea0c651..331295878695368 100644
--- a/src/content/docs/hyperdrive/examples/connect-to-postgres/index.mdx
+++ b/src/content/docs/hyperdrive/examples/connect-to-postgres/index.mdx
@@ -70,8 +70,6 @@ The following examples show you how to:
### node-postgres / pg
-Install the `node-postgres` driver:
-
### Postgres.js
diff --git a/src/content/partials/hyperdrive/use-node-postgres-to-make-query.mdx b/src/content/partials/hyperdrive/use-node-postgres-to-make-query.mdx
index 104a3e85cecbf3c..eef450ef3cbbda7 100644
--- a/src/content/partials/hyperdrive/use-node-postgres-to-make-query.mdx
+++ b/src/content/partials/hyperdrive/use-node-postgres-to-make-query.mdx
@@ -6,11 +6,11 @@ import { Render, PackageManagers } from "~/components";
Install the `node-postgres` driver:
-
+
:::note
-The minimum version of `node-postgres` required for Hyperdrive is `8.13.0`.
+The minimum version of `node-postgres` required for Hyperdrive is `8.16.3`.
:::
@@ -53,7 +53,7 @@ export default {
} catch (error: any) {
console.error("Database error:", error.message);
- return Response.error();
+ new Response('Internal error occurred', { status: 500 });
}
},
};