Closed
Description
A weird error happened on our server that seems to reveal a bug in the library.
Is a quite uncommon error that suggests is not an implementation problem but more a library bug.
for some reason under a now unknown circumstance columns
seems to be undefined here:
Line 113 in 4a6669c
I am afraid that the information given may not be sufficient, but it can be an already known issue or something that may add up to another user information.
for (let i = 0; i < backend.query.statement.columns.length; i++) {
^
TypeError: Cannot read property 'length' of undefined
at Object.DataRow (/opt/xxx/project/src/node_modules/postgres/lib/backend.js:113:57)
at Socket.data (/opt/xxx/project/src/node_modules/postgres/lib/connection.js:319:25)
at Socket.emit (node:events:365:28)
at addChunk (node:internal/streams/readable:314:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
error Command failed with exit code 1.
thanks
Metadata
Metadata
Assignees
Labels
No labels