Skip to content

Setting PGOPTIONS when connecting (environment variable / connection parameter) #1482

Closed
@cjnqt

Description

@cjnqt

The documentation says
node-postgres uses the same environment variables as libpq to connect to a PostgreSQL server

Libpq supports setting PGOPTIONS on the connection, but it seems that node-postgres doesn't? Is there any way to specify PGOPTIONS (these: https://www.postgresql.org/docs/9.1/static/libpq-envars.html)

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