Skip to content

Documentation - How to pass in idle_in_transaction_session_timeout #2381

@legopin

Description

@legopin

Hello,

I'm having trouble passing this config into the client: idle_in_transaction_session_timeout implemented here: #2049

However I couldn't figure out where to pass it in given the starting example of

const { Pool } = require('pg');
const pool = new Pool();

pool.query('SQL...')

I looked into the config document and did not see idle_in_transaction_session_timeout as a documented property of the PoolConfig type

It would be nice to have the available options documented here: https://node-postgres.com/api/pool#constructor

Thanks

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