Lookup "Status 11" in the PSQL documentation. There are a number of reasons mentioned than can cause status 11.
This one sounds like something you should check:
You attempted to load a remote file when your client configuration settings for Local MicroKernel Engine and Use Remote MicroKernel Engine are incorrectly set to On and Off, respectively.
Or this one: (that I don't understand.)
If you are working in the Microsoft Terminal Server environment:

Approximately 5 users can work in a Windows application on 2 different Terminal Servers that are connected to a primary Windows server. If you have attempted to run on top of this limit, you will receive status codes 11 and 35. For the recovery solution for this instance, see Microsoft Knowledgebase Article 190162, “Terminal Server and the 2048 Open File Limitation.”
Is PSQL supported on Terminal Server 2019 anyway?