[Fdo-trac] [fdo-trac] #973: PostgreSQL provider won't work on PostgresSQL >= 12.0
FDO
trac_fdo at osgeo.org
Mon Jan 13 00:51:11 PST 2020
#973: PostgreSQL provider won't work on PostgresSQL >= 12.0
-----------------------------------+----------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: major | Milestone: 4.1.0
Component: PostgreSQL Provider | Version:
Severity: 3 | Keywords:
External ID: |
-----------------------------------+----------------------
The PostgreSQL provider makes reference to the column `pg_attrdef.adsrc`
[https://trac.osgeo.org/fdo/browser/branches/4.1/Providers/GenericRdbms/Src/PostGis/SchemaMgr/Ph/Rd/ColumnReader.cpp#L205
here].
This column has been removed in PostgreSQL 12.0, rendering the provider
un-usable for this version of PostgreSQL.
The use of `d.adsrc` can be replaced with `pg_get_expr(d.adbin,
d.adrelid)`. For even more safety, do a PG version check to see whether
we can use `adsrc` or its replacement.
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/973>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list