Skip to content
← Back to Changelog

Thursday, July 27th 2023

Improved performance for Vercel Postgres from Edge Functions

Posted by

Avatar for vvoyer

Vincent Voyer

Software Engineer

Avatar for ethomson

Edward Thomson

Director of Product, Ship

The Vercel Postgres SDK has significantly improved performance for Postgres queries from Vercel Edge Functions.

The @vercel/postgres package has been updated to use the latest version of Neon’s Serverless driver which adds support for SQL-over-HTTP when you use the sql template literal tag. Simple queries that do not require transactions now complete in ~10ms—up to a 40% speed increase.

You do not need to make any changes to your queries to see these improvements, you only need to update to the latest version of @vercel/postgres to take advantage of these improvements.