From 1bd44bfb17307acfb849eb4e44cc38e864845616 Mon Sep 17 00:00:00 2001 From: Nikolaos Dimopoulos Date: Thu, 11 Jan 2024 09:12:25 -0600 Subject: [PATCH] Revert "T16371 postgres fix" --- CHANGELOG-5.0.md | 14 -------------- phalcon/Db/Adapter/Pdo/Postgresql.zep | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/CHANGELOG-5.0.md b/CHANGELOG-5.0.md index 47060752c15..258940bc9db 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 43566cc7108..a3a371bc5dc 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] );