Replace the obsolete method of retrieving a column's default value, which was removed in PostgreSQL 12.
Replace the obsolete method of retrieving a column's default value, which was removed in PostgreSQL 12.

Changed according to notes in https://www.postgresql.org/docs/12/release-12.html:

> Remove obsolete pg_attrdef.adsrc column (Peter Eisentraut)
> This column has been deprecated for a long time, because it did not update in response to other catalog changes (such as column renamings). The recommended way to get a text version of a default-value expression from pg_attrdef is pg_get_expr(adbin, adrelid).

Corfiot/yii,softark/yii,yiisoft/yii,softark/yii,Corfiot/yii,Infowatch/yii,Infowatch/yii,yiisoft/yii