Re: Regression from postgresql14 to postgresql17 with postgis (osm2pgsql)

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: Elie Gedeon <elie(at)gedeon(dot)li>
Subject: Re: Regression from postgresql14 to postgresql17 with postgis (osm2pgsql)
Date: 2024-11-14 14:05:52
Message-ID: CAJ7c6TO+VtKeVXYWV5VV5Y3zQRAY=Ln7taJuJoVGWC4jozF=MQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Elie,

> System is Ubuntu 24.10
> [...]
> files from https://planet.openstreetmap.org/pbf/
> Not working with postgresql17 :
>
> [USER(at)HOST ~]$ sudo pg_createcluster 17 osmdata --datadir=/mnt/faststorage/postgres --port=54372 --pgoption autovacuum_work_mem='2GB' --pgoption checkpoint_completion_target='0.9' --pgoption checkpoint_timeout='60min' --pgoption default_statistics_target='500' --pgoption effective_cache_size='10GB' --pgoption effective_io_concurrency='200' --pgoption maintenance_work_mem='10GB' --pgoption min_wal_size='4GB' --pgoption max_connections='40' --pgoption max_wal_size='12GB' --pgoption max_worker_processes='10' --pgoption max_parallel_workers_per_gather='6' --pgoption max_parallel_workers='10' --pgoption max_parallel_maintenance_workers='4' --pgoption max_wal_senders='0' --pgoption random_page_cost='1.0' --pgoption shared_buffers='1GB' --pgoption wal_buffers='16MB' --pgoption wal_level='minimal' --pgoption work_mem='50MB' -- --data-checksums --lc-messages=C --auth-host=scram-sha-256 --auth-local=peer

Your report is a bit difficult to read but if I understand correctly
you have a single pg_createcluster command that fails. Unfortunately
this is a 3rd party program which is not part of PostgreSQL
distribution. I found a web page that seems to contain emails of its
maintainers [1] but I recommend re-checking it with your local `man
pg_createcluster` or `pg_createcluster --help`.

From what I can tell you are basically trying to create a database
(a.k.a. cluster). I'm surprised to see that a 3rd party program is
needed for this. You may consider doing the same with the tools
provided by PostgreSQL. The documentation [2] will tell you how to do
this, or alternatively take a look at this script [3].

If you discover any problems with our tools and/or find a way to
reproduce your issue with them please let us know.

[1]: https://manpages.ubuntu.com/manpages/trusty/man8/pg_createcluster.8.html
[2]: https://www.postgresql.org/docs/
[3]: https://github.com/afiskon/pgscripts/blob/master/single-install.sh

--
Best regards,
Aleksander Alekseev

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Aleksander Alekseev 2024-11-14 14:20:22 Re: Regression from postgresql14 to postgresql17 with postgis (osm2pgsql)
Previous Message Aleksander Alekseev 2024-11-14 13:51:53 Re: Libpq library error when doing physical Replication