Skip to content

SylvainMarty/pg-deno-ssl-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

  1. Install Deno 2 (I am currently using Deno 2.2.8)
  2. You need a Neon Postgres database with SSL enabled or any instance that you can use with sslmode=require (Neon Postgres has a big free tier)
  3. Run deno task start:bug

Description

This repository contains two files:

  • pg_bug.ts: This script will throw the error Top-level await promise never resolved
  • pg_no_bug.ts: This script will not throw an error (run it with deno task start:no-bug)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published