Skip to content

Commit

Permalink
fix: tileset property types query
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin committed Feb 5, 2018
1 parent 63b753c commit e81cd4b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
47 changes: 21 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/martin/tileset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub fn get_tilesets(conn: PostgresConnection) -> Result<HashMap<String, Tileset>
FROM pg_attribute attr
JOIN pg_catalog.pg_class AS class ON class.oid = attr.attrelid
JOIN pg_catalog.pg_namespace AS ns ON ns.oid = class.relnamespace
JOIN pg_catalog.pg_type AS tp ON tp.typelem = attr.atttypid
JOIN pg_catalog.pg_type AS tp ON tp.oid = attr.atttypid
WHERE NOT attr.attisdropped AND attr.attnum > 0)
SELECT
f_table_schema, f_table_name, f_geometry_column, srid, type,
Expand Down

0 comments on commit e81cd4b

Please sign in to comment.