Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
big-data
ohsome
libs
ohsome2X
Commits
5b6e4073
Verified
Commit
5b6e4073
authored
Apr 12, 2021
by
Michael Auer
Browse files
fix partitioned tables were not recognized as existent
parent
de6126d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PgFeatureType.ts
View file @
5b6e4073
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment