Skip to content

Commit e81cd4b

Browse files
committed
fix: tileset property types query
1 parent 63b753c commit e81cd4b

File tree

2 files changed

+22
-27
lines changed

2 files changed

+22
-27
lines changed

Cargo.lock

Lines changed: 21 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/martin/tileset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub fn get_tilesets(conn: PostgresConnection) -> Result<HashMap<String, Tileset>
118118
FROM pg_attribute attr
119119
JOIN pg_catalog.pg_class AS class ON class.oid = attr.attrelid
120120
JOIN pg_catalog.pg_namespace AS ns ON ns.oid = class.relnamespace
121-
JOIN pg_catalog.pg_type AS tp ON tp.typelem = attr.atttypid
121+
JOIN pg_catalog.pg_type AS tp ON tp.oid = attr.atttypid
122122
WHERE NOT attr.attisdropped AND attr.attnum > 0)
123123
SELECT
124124
f_table_schema, f_table_name, f_geometry_column, srid, type,

0 commit comments

Comments
 (0)