• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/pgsqlconnection.php
  • Класс: BitrixMainDBPgsqlConnection
  • Вызов: PgsqlConnection::disconnectInternal
protected function disconnectInternal()
{
	if ($this->isConnected)
	{
		$this->isConnected = false;
		try
		{
			pg_close($this->resource);
			$this->resource = null;
		}
		catch (Throwable)
		{
			// Ignore misterious error
			// pg_close(): supplied resource is not a valid PostgreSQL link resource (0)
		}
	}
}