[Tile-serving] [openstreetmap/osm2pgsql] Check if way-node index exists before enabling forward dependencies (Issue #1814)
Jochen Topf
notifications at github.com
Fri Nov 4 20:40:25 UTC 2022
We don't have the name of the index, but this should probably work:
```
SELECT count(*) FROM pg_indexes WHERE tablename='{prefix}ways' AND indexdef LIKE '%nodes%';
```
If the result is >0, the index is there.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1814#issuecomment-1304212252
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/issues/1814/1304212252 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221104/b7a3af60/attachment.htm>
More information about the Tile-serving
mailing list