You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
As of PostgreSQL V12
"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)." https://www.postgresql.org/docs/12/release-12.html
Solution looks to be replace d.adsrc with pg_get_expr(d.adbin, d.adrelid) in /structs.go
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As of PostgreSQL V12
"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)."
https://www.postgresql.org/docs/12/release-12.html
Solution looks to be replace d.adsrc with pg_get_expr(d.adbin, d.adrelid) in /structs.go
The text was updated successfully, but these errors were encountered: