Created
July 4, 2016 19:12
-
-
Save slarosa/816d005014bedc86f31f3aa2c27823cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function _autoCommitNotify ($state){ | |
if (version_compare(pg_parameter_status($this->_connection, "server_version"),'7.4')<0) { | |
$this->_doExec('SET AUTOCOMMIT TO '.($state ? 'ON' : 'OFF')); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment