Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[57P01]: Admin shutdown: 7 FATAL: terminating connection due to administrator command CONTEXT: SQL statement "SELECT ( with recursive cmt as ( select cid from comment where pid=0 and nid=p_nid and status=1 union all select c.cid from comment c inner join cmt on c.pid=cmt.cid where c.status=1 ) select count(*) from cmt )" PL/pgSQL function api.get_article_comments_count(bigint) line 4 at RETURN PL/pgSQL function api.get_article_info(bigint,integer) line 9 at RETURN QUERY SSL connection has been closed unexpectedly: select :nid p_nid, ai.*,api.get_likes_stat(:uid,:nid) p_liked from api.get_article_info(:nid,:uuid) ai; Array ( [:nid] => 238889 [:uid] => 0 [:uuid] => ) in ap_utils_get_article_info() (line 227 of /var/www/asia-dev/sites/all/modules/asiaplus/asiaplus_utils/asiaplus_utils.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 7 no connection to the server: SELECT column_name, data_type, column_default FROM information_schema.columns WHERE table_schema = :schema AND table_name = :table AND (data_type = 'bytea' OR (numeric_precision IS NOT NULL AND column_default LIKE :default)); Array ( [:schema] => public [:table] => watchdog [:default] => %nextval% ) in dblog_watchdog() (line 163 of /var/www/asia-dev/modules/dblog/dblog.module).