Skip to content

Commit 0be989f

Browse files
authored
Merge pull request #16507 from niden/T16371-postgres-fix
T16371 postgres fix
2 parents a9f537a + 3e7f8cd commit 0be989f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG-5.0.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [5.6.1](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (xxxx-xx-xx)
4+
5+
### Changed
6+
7+
### Added
8+
9+
### Fixed
10+
11+
- Fixed `/Db/Adapter/Pdo/Postgresql::describeColumns` to return the correct string back [#16371](https://github.com/phalcon/cphalcon/issues/16371)
12+
13+
### Removed
14+
15+
# Changelog
16+
317
## [5.6.0](https://github.com/phalcon/cphalcon/releases/tag/v5.6.0) (2024-01-09)
418

519
### Changed

phalcon/Db/Adapter/Pdo/Postgresql.zep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ class Postgresql extends PdoAdapter
501501
*/
502502
if field[9] !== null {
503503
let definition["default"] = preg_replace(
504-
"/^'|'?::[[:alnum:][:space:]]+$/",
504+
"/^'|'?::[[:alnum:][:space:]]+(\\[\\])?$/",
505505
"",
506506
field[9]
507507
);

0 commit comments

Comments
 (0)