Skip to content

Conversation

@h-serizawa
Copy link

Currently, vertica-nodejs uses the os.platform()'s output as the client_os value in the session information. To set more helpful information like the value set by vsql, it needs to use os.type(), os.release(), and os.machine() to generate the value. However, os.machine() doesn't exist in Node.js 12 and 14. So I chose os.arch() to replace it only for both releases.

'mochatest/integration/client/vertica-connection-params-tests.js' has a test case to check the client_os value in the session information. I also modified this test case.

CI has been passed.

@CLAassistant
Copy link

CLAassistant commented Jun 12, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants