pg_terminate_backend: Terminate one or all connections by pid

Description Usage Arguments Details Value Examples

View source: R/pg_terminate_backend.R

Description

Terminate one or all connections by pid

Usage

1

Arguments

conn

Connection

pid

NULL, defaults to all connections to databases, except the your own, or the connection pid you want to terminate.

Details

You can list all connections with “'pg_list_connections()“'

Value

data.frame with one row per terminated connection

Examples

1
2
3
4
## Not run: 
pg_terminate_backend(conn)

## End(Not run)

jjesusfilho/rpsql documentation built on Aug. 9, 2021, 7:33 p.m.