SMRTR ProgrammingMar 16, 2026Hacker News

pg_typescript, a Postgres extension for writing functions in TypeScript

SMRTR summary

pg_typescript is a PostgreSQL extension that enables writing database functions in TypeScript using Deno's v8 runtime. It supports full TypeScript syntax, npm package imports, and provides sandboxed execution with Node.js compatibility. The extension includes a comprehensive permission system via PostgreSQL GUCs and allows TypeScript functions to call back into PostgreSQL through a _pg.execute() API.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 24, 2026

Programming Paradigms

A structured roadmap for experienced developers to move beyond language familiarity and genuinely master the four core programming paradigms.