Skip to main content
Extremely Popular
Go to Latest
method Connection.prototype.startup
import { Connection } from "https://deno.land/x/postgres@v0.19.2/connection/connection.ts";

Calling startup on a connection twice will create a new session and overwrite the previous one

Parameters

is_reconnection: boolean

This indicates whether the startup should behave as if there was a connection previously established, or if it should attempt to create a connection first

https://www.postgresql.org/docs/14/protocol-flow.html#id-1.10.5.7.3