Hello, I'm not sure if there's a way to reproduce this, but:
I ran a recursive CTE that took really long to run, and for some reason, could not be terminated.
Closed & Quit Atom, and when I reopened Atom to connect to the database again, this error occurred and I can no longer connect to my database.
Prior to this, Atom & database connections were working fine. I'm still quite new to postgreSQL, but if there's any other information you think I can provide, do let me know. Thank you!
Atom: 1.58.0 x64
Electron: 9.4.4
OS: Mac OS X 10.15.7
Thrown From: data-atom package 0.29.1
Stack Trace
Uncaught TypeError: Cannot read property '2' of undefined
At /Users/krystaltay/.atom/packages/data-atom/node_modules/season/lib/cson.js:77
TypeError: Cannot read property '2' of undefined
at Lexer.exports.Lexer.Lexer.tokenize (/packages/data-atom/node_modules/coffee-script/lib/coffee-script/lexer.js:43:58)
at /packages/data-atom/node_modules/coffee-script/lib/coffee-script/coffee-script.js:111:33
at /packages/data-atom/node_modules/coffee-script/lib/coffee-script/coffee-script.js:34:19
at Object.parse (/packages/data-atom/node_modules/cson-parser/lib/parse.js:202:15)
at parseObject (/packages/data-atom/node_modules/season/lib/cson.js:42:23)
at parseContentsSync (/packages/data-atom/node_modules/season/lib/cson.js:68:16)
at Object.readFileSync (/packages/data-atom/node_modules/season/lib/cson.js:170:14)
at /packages/data-atom/lib/data-managers/db-factory.js:40:34
at suppressedCallback (fs.js:202:5)
at FSReqCallback.oncomplete (fs.js:146:23)
Hello, I'm not sure if there's a way to reproduce this, but:
Prior to this, Atom & database connections were working fine. I'm still quite new to postgreSQL, but if there's any other information you think I can provide, do let me know. Thank you!
Atom: 1.58.0 x64 Electron: 9.4.4 OS: Mac OS X 10.15.7 Thrown From: data-atom package 0.29.1
Stack Trace
Uncaught TypeError: Cannot read property '2' of undefined
Commands
Non-Core Packages