Fix server error when a postgres view contains geometry columns (#7487)

* Fix server error when a postgres view contains geometry columns

* Fixed typo

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
Oreille
2021-08-18 21:19:12 +02:00
committed by GitHub
parent 2ad07b27b4
commit fb64df54be

View File

@@ -58,7 +58,7 @@ export default class Postgres extends KnexPostgres implements SchemaInspector {
, f_geometry_column as column_name
, type as data_type
FROM geometries g
JOIN information_schema.tables
JOIN information_schema.tables t
ON g.f_table_name = t.table_name
AND t.table_type = 'BASE TABLE'
WHERE f_table_schema in (?)