Verified Commit 5b6e4073 authored by Michael Auer's avatar Michael Auer
Browse files

fix partitioned tables were not recognized as existent

parent de6126d4
......@@ -75,7 +75,8 @@ export class PgFeatureType extends FeatureType {
JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE n.nspname = $1
AND c.relname = $2
AND (c.relkind = 'r' OR c.relkind = 'v' ) -- only tables or views
AND c.relkind IN ('r','v','p')
-- only tables or views or 'partitioned tables'
let exists;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment