PostgreSQL: command is already in progress
问题 My asynchronous function tries to select a single record from a table. This function accepts a few arguments passed from another function. So, some processes (6 at least) can use it simultaneously. Often I get an error with the message "command is already in progress" . I know that the problem hides in the reader, because the reader is busy when another process tries to access it. Let me publish the full code below: async private void InsertToLog(List<Printer> APrinter, List