[Tile-serving] [osm2pgsql-dev/osm2pgsql] Deprecating -i, --tablespace-index? (Issue #2133)

Jochen Topf notifications at github.com
Fri Feb 2 14:09:15 UTC 2024


I think we should deprecate the option `-i,--tablespace-index`. It is probably seldomly used and interacts in weird ways with the other "tablespace options"

```
Tablespace options:
  -i,--tablespace-index TBLSPC        Tablespace for indexes (sets default for --tablespace-(main|slim)-index).
  --tablespace-main-data TBLSPC       Tablespace for main tables.
  --tablespace-main-index TBLSPC      Tablespace for main indexes.
  --tablespace-slim-data TBLSPC       Tablespace for slim mode tables.
  --tablespace-slim-index TBLSPC      Tablespace for slim mode indexes.
```

We have a strange mixture here of tablespaces for "tables vs. indexes" and "main (ie. pgsql output) vs. slim (ie. middle)". If we deprecate the `-i,--tablespace-index` we don't use any functionality, but separate out the different concerns. We can remove the option then in 2.0.

We can also think about renaming the options `--tablespace-slim-*` to `--midde-tablespace-*` for consistency with the other middle options.

@lonvia @pnorman What do you think?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/issues/2133
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/issues/2133 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240202/70bc23a9/attachment.htm>


More information about the Tile-serving mailing list