Skip to content

Commit

Permalink
fix: rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-yee committed Nov 18, 2024
1 parent ccef02b commit 3876bdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/Database/Postgre/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ private function convertDSN()
public function reconnect()
{
if ($this->connID === false || pg_ping($this->connID) === false) {
$this->connect();
$this->close();
$this->initialize();
}
}

Expand Down
1 change: 1 addition & 0 deletions user_guide_src/source/changelogs/v4.5.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Bugs Fixed
- **Routing:** Fixed a TypeError in `str_replace()` when `Routing::$translateURIDashes` is set to `true` and a route is defined using a closure.

- **Validation:** Fixed a bug where complex language strings were not properly handled.
- **PostgreSQL Connection:** Fixed bug that PostgreSQL cannot reconnect the database with ``reconnect()`` method.

See the repo's
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
Expand Down

0 comments on commit 3876bdd

Please sign in to comment.