Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@vulcan-sql/extension-driver-pg
Advanced tools
Readme
node-postgres driver for Vulcan SQL.
Install package
npm i @vulcan-sql/extension-driver-pg
Update vulcan.yaml
, enable the extension.
extensions:
pg: '@vulcan-sql/extension-driver-pg'
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
FAQs
PG driver for Vulcan SQL
The npm package @vulcan-sql/extension-driver-pg receives a total of 7 weekly downloads. As such, @vulcan-sql/extension-driver-pg popularity was classified as not popular.
We found that @vulcan-sql/extension-driver-pg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.