40001 is not a query errorPostgreSQL tells you to retry serialization failures. Almost every Node implementation puts the retry somewhere it cannot work.10 min read·mohamedaboelmagd.hashnode.dev12AAug 25