Skip to content

Commit

Permalink
Merge pull request #16508 from phalcon/revert-16507-T16371-postgres-fix
Browse files Browse the repository at this point in the history
Revert "T16371 postgres fix"
  • Loading branch information
niden committed Jan 11, 2024
2 parents 0be989f + 1bd44bf commit e14ab77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Db/Adapter/Pdo/Postgresql.zep
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ class Postgresql extends PdoAdapter
*/
if field[9] !== null {
let definition["default"] = preg_replace(
"/^'|'?::[[:alnum:][:space:]]+(\\[\\])?$/",
"/^'|'?::[[:alnum:][:space:]]+$/",
"",
field[9]
);
Expand Down

0 comments on commit e14ab77

Please sign in to comment.