Skip to content

Postgres connector makes the script unable to exit normally #372

@neighborhood-dog

Description

@neighborhood-dog

The following code triggers the error (deno run --allow-env main.ts):

import { PostgresConnector } from "https://deno.land/x/denodb@v1.1.0/mod.ts";

new PostgresConnector({
  host: "localhost",
  username: "postgres",
  password: "postgres",
  database: "test",
});

Deno.exit(0); can be added at the end of the script as a workaround to force it to exit.

Everything running on Windows 11, PostgreSQL 15.1.0.

deno --version

deno 1.29.1 (release, x86_64-pc-windows-msvc)
v8 10.9.194.5
typescript 4.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions