Skip to content

DB Manager error: column adsrc doesn't exist any more in PostgreSQL 12 #32321

@KoponenJ

Description

@KoponenJ

When executing raster query for PostGIS error "column adef.adsrc does not exist" is generated. This is because PostgreSQL 12 doesn't have pg_attrdef.adsrc column any more (?). From version 8 documentation:
"The adsrc field is historical, and is best not used, because it does not track outside changes that might affect the representation of the default value. Reverse-compiling the adbin field (with pg_get_expr for example) is a better way to display the default value."
From version 12 release notes: "Remove obsolete pg_attrdef.adsrc column (Peter Eisentraut)."

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!DB ManagerRelating to the DB Manager core plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions