diff --git a/CHANGELOG-5.0.md b/CHANGELOG-5.0.md index 47060752c1..258940bc9d 100644 --- a/CHANGELOG-5.0.md +++ b/CHANGELOG-5.0.md @@ -1,19 +1,5 @@ # Changelog -## [5.6.1](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (xxxx-xx-xx) - -### Changed - -### Added - -### Fixed - -- Fixed `/Db/Adapter/Pdo/Postgresql::describeColumns` to return the correct string back [#16371](https://github.com/phalcon/cphalcon/issues/16371) - -### Removed - -# Changelog - ## [5.6.0](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (2024-01-09) ### Changed diff --git a/phalcon/Db/Adapter/Pdo/Postgresql.zep b/phalcon/Db/Adapter/Pdo/Postgresql.zep index 43566cc710..a3a371bc5d 100644 --- a/phalcon/Db/Adapter/Pdo/Postgresql.zep +++ b/phalcon/Db/Adapter/Pdo/Postgresql.zep @@ -501,7 +501,7 @@ class Postgresql extends PdoAdapter */ if field[9] !== null { let definition["default"] = preg_replace( - "/^'|'?::[[:alnum:][:space:]]+(\\[\\])?$/", + "/^'|'?::[[:alnum:][:space:]]+$/", "", field[9] );