在運(yùn)行l(wèi)inux系統(tǒng)時(shí),打開(kāi)的文件太多就會(huì)提示too many open files,出現(xiàn)這句提示的原因是程序打開(kāi)的文件/socket連接數(shù)量超過(guò)系統(tǒng)設(shè)定值,下文介紹三種解決這個(gè)問(wèn)題的辦法,需要的朋友可以參考下
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()....