0.10.4 • Published 9 months ago

@vulcan-sql/extension-driver-pg v0.10.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

extension-driver-pg

node-postgres driver for Vulcan SQL.

Install

  1. Install package

    npm i @vulcan-sql/extension-driver-pg
  2. Update vulcan.yaml, enable the extension.

    extensions:
      pg: '@vulcan-sql/extension-driver-pg'
  3. Create a new profile in profiles.yaml or in your profiles' paths.

    - name: pg # profile name
      type: pg
      connection:
       # Optional: The max rows we should fetch once.
       chunkSize: 100
       # Optional: Maximum number of clients the pool should contain.
       max: 10
       # Optional: Number of milliseconds a client must sit idle in the pool and not be checked out before it is disconnected from the backend and discarded.
       idleTimeoutMillis: 10000
       # Optional: Number of milliseconds to wait before timing out when connecting a new client by default this is 0 which means no timeout
       connectionTimeoutMillis: 0
       # Optional: The user to connect to database. Default process.env.PGUSER || process.env.USER
       user: string
       # Optional: Password to connect to database. default process.env.PGPASSWORD
       password: string
       # Optional: Server host. default process.env.PGHOST
       host: string
       # Optional: Name of database. default process.env.PGDATABASE || user
       database: string
       # Optional: Server port. default process.env.PGPORT
       port: 5432
       # Optional: Connection string.
       connectionString: postgres://user:password@host:5432/database
       # Optional: Passed directly to node.TLSSocket, supports all tls.connect options
       ssl: false
       # Optional: Number of milliseconds before a statement in query will time out, default is no timeout
       statement_timeout: 0
       # Optional: Number of milliseconds before a query call will timeout, default is no timeout
       query_timeout: 0
       # Optional: The name of the application that created this Client instance
       application_name: string
       # Optional: Number of milliseconds to wait for connection, default is no timeout
       connectionTimeoutMillis: 0
       # Optional: Number of milliseconds before terminating any session with an open idle transaction, default is no timeout
       idle_in_transaction_session_timeout: 0
0.10.4

10 months ago

0.10.4-beta.0

10 months ago

0.10.3

10 months ago

0.10.3-beta.0

10 months ago

0.9.1-beta.0

1 year ago

0.7.2-beta.0

1 year ago

0.7.2

1 year ago

0.6.0-beta.0

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.10.1

1 year ago

0.10.2

1 year ago

0.10.0

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.0-beta.0

1 year ago

0.9.0

1 year ago

0.9.1

1 year ago

0.9.0-beta.0

1 year ago

0.7.1-beta.0

1 year ago

0.10.0-beta.0

1 year ago

0.10.2-beta.0

1 year ago

0.10.1-beta.0

1 year ago

0.8.0-beta.0

1 year ago

0.8.1-beta.0

1 year ago

0.6.0

1 year ago

0.5.3-beta.0

1 year ago

0.5.3

1 year ago

0.5.2-beta.0

1 year ago

0.5.0-beta.0

1 year ago

0.5.1-beta.0

1 year ago

0.3.2-internal.1

2 years ago

0.4.0

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.4.0-beta.0

2 years ago

0.3.2-internal.0

2 years ago

0.3.2-beta.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.1-beta.0

2 years ago

0.3.0

2 years ago

0.3.0-beta.0

2 years ago

0.2.1

2 years ago

0.2.1-beta.0

2 years ago

0.2.0-beta.0

2 years ago