[Tile-serving] [openstreetmap/osm2pgsql] Database error: ERROR: cannot execute CREATE FUNCTION in a read-only transaction (Discussion #2075)
Jochen Topf
notifications at github.com
Sat Sep 9 14:59:38 UTC 2023
There is no difference in the code whether you use a small or a large file. And osm2pgsql doesn't do anything with read-only transactions. So, I'd think this must be related to your PostgreSQL database in some way. What's probably casing this is a function we are creating for a database trigger.
Did you set up PostgreSQL yourself or are you using the database service from Digital Ocean? Maybe they are doing some kind of auto-scaling and you have a connection going to a read-only replica or so. If you are using that, I suggest contacting their support.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/2075#discussioncomment-6955863
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/repo-discussions/2075/comments/6955863 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230909/c0a8f99e/attachment-0001.htm>
More information about the Tile-serving
mailing list