在運(yùn)行l(wèi)inux系統(tǒng)時(shí),打開的文件太多就會提示too many open files,出現(xiàn)這句提示的原因是程序打開的文件/socket連接數(shù)量超過系統(tǒng)設(shè)定值,下文介紹三種解決這個(gè)問題的辦法,需要的朋友可以參考下
PGSQL_TRANSACTION_INERROR (integer) Returned by pg_transaction_status(). The connection is idle, in a failed transaction block. PGSQL_TRANSACTION_UNKNOWN (integer) Returned by pg_transaction_status(). The connection is bad. PGSQL_DIAG_SEVERITY (integer) Passed to pg_result_error_field()....