关于RestSharp RestSharp is a library that allows you to make REST and HTTP calls in .NET applications. It supports serialization, parameters, async functions, and more. RestSharp是C#的一个WepApi库,支持通用的Web接口处理,支持序列化、参数…
我们在使用 PostgreSQL 的时候经常会遇到有关锁的信息。那么如何判断是否有死锁或者锁等待呢? WITH lock_pid AS ( SELECT DISTINCT pid FROM pg_locks WHERE pid <> pg_backend_pid() )
SELECT psa.* FROM pg_stat_activity psa INNER JOIN lock_pid lp ON …
重修设计模式-行为型-命令模式 The command pattern encapsulates a request as an object, thereby letting us parameterize other objects with different requests, queue or log requests, and support undoable operations. 命令模式将请求(命令)封…