You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
System.IO.IOException: The parameter is incorrect at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) #5139
Search the existing issues, especially the pinned issues.
Exception report
PS C:\users\weblink> pg_restore -h alphalinx-qa-pg.postgres.database.azure.com -p 5432 -U weblink -d metrics_dev --no-owner --no-acl -v metricsdb_backup.dumpOops, something went wrong. Please report this bug with the details below.Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new-----------------------------------------------------------------------Last 190 Keys: Ctrl+v Escape Ctrl+v Enter Ctrl+v Backspace Ctrl+v Backspace Ctrl+V Backspace Backspace n s l i Backspace o o k u p Spacebar a l p h a l i n x - a Backspace q a - p g . p o s t g r e s . d a t a b a s e . a z u r e . c o m Enter Ctrl+v Enter c d Spacebar \ d e v Enter UpArrow UpArrow Enter UpArrow UpArrow UpArrow UpArrow UpArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow DownArrow UpArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow LeftArrow d b Backspace Backspace LeftArrow LeftArrow RightArrow d b Enter d i r Enter d i r Spacebar * . d u m p Enter UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace c d Spacebar \ u s e r s \ w e b l i n k Enter d i r Enter Enter UpArrow UpArrow UpArrow UpArrow UpArrow Backspace Backspace p Enter UpArrow Enter UpArrow Enter UpArrow Enter UpArrowException:System.IO.IOException: The parameter is incorrect. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.Console.SetCursorPosition(Int32 left, Int32 top) at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender() at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction) at Microsoft.PowerShell.PSConsoleReadLine.PreviousHistory(Nullable`1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.InputLoop() at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)-----------------------------------------------------------------------
Screenshot
Sorry I had already resized the window before I saw the request to file a bug, but here's a screenshot after I resized:
francis-asi, you were using a pretty old version of PSReadLine (2.0.0-beta2 or prior), and it's likely that the issue was fixed in a newer version.
Please upgrade to the 2.3.5 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.
Activity
github-actions commentedon May 7, 2026
francis-asi, you were using a pretty old version of PSReadLine (2.0.0-beta2 or prior), and it's likely that the issue was fixed in a newer version.
Please upgrade to the 2.3.5 version of PSReadLine from PowerShell Gallery.
See the upgrading section for instructions. Please let us know if you run into the same issue with the latest version.