Skip to content

fix: typos #3499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/pg-native/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Client = (module.exports = function (config) {
this._reading = false
this._read = this._read.bind(this)

// allow custom type converstion to be passed in
// allow custom type conversion to be passed in
this._types = config.types || types

// allow config to specify returning results
Expand Down
2 changes: 1 addition & 1 deletion packages/pg/lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ class Client extends EventEmitter {
this._pulseQueryQueue()
}

// if we receieve an error event or error message
// if we receive an error event or error message
// during the connection process we handle it here
_handleErrorWhileConnecting(err) {
if (this._connectionError) {
Expand Down
2 changes: 1 addition & 1 deletion packages/pg/lib/native/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const NativeQuery = (module.exports = function (config, values, callback) {
// then emit them as they come in
// without setting singleRowMode to true
// this has almost no meaning because libpq
// reads all rows into memory befor returning any
// reads all rows into memory before returning any
this._emitRowEvents = false
this.on(
'newListener',
Expand Down
2 changes: 1 addition & 1 deletion packages/pg/lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Query extends EventEmitter {
// if a named prepared statement is created with empty query text
// the backend will send an emptyQuery message but *not* a command complete message
// since we pipeline sync immediately after execute we don't need to do anything here
// unless we have rows specified, in which case we did not pipeline the intial sync call
// unless we have rows specified, in which case we did not pipeline the initial sync call
handleEmptyQuery(connection) {
if (this.rows) {
connection.sync()
Expand Down