Skip to content

Commit

Permalink
Fix Zend_Db_Adapter_Pdo_Pgsql being broken on Postgres 12 that remove…
Browse files Browse the repository at this point in the history
…d d.adsrc (#29)

Signed-off-by: Elan Ruusamäe <[email protected]>

Co-authored-by: francesco.loreti <[email protected]>
  • Loading branch information
glensc and francesco.loreti authored Oct 7, 2020
1 parent 399f6c9 commit fd0c379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zend-db/library/Zend/Db/Adapter/Pdo/Pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function describeTable($tableName, $schemaName = null)
t.typname AS type,
a.atttypmod,
FORMAT_TYPE(a.atttypid, a.atttypmod) AS complete_type,
d.adsrc AS default_value,
pg_get_expr(d.adbin, d.adrelid) AS default_value,
a.attnotnull AS notnull,
a.attlen AS length,
co.contype,
Expand Down

0 comments on commit fd0c379

Please sign in to comment.