Skip to content

Post-processing SQL not running - pgosm-meta.sql #235

@rustprooflabs

Description

@rustprooflabs

What version of PgOSM Flex are you using?

v0.4.5

Docker image

Built locally from 0.4.5 tag.

What operating system, osm2pgsql, and PostgreSQL/PostGIS versions are you using?

N/A

What did you do exactly?

I was working on #226 and ran into a failure because the replication related procedures created in pgosm-meta.sql were not found. Upon investigation I verified that the output related to post-processing SQL was missing and the comments on tables, columns, etc. were not being added.

What did you expect to happen?

I expected the post-processing to work. I expect that if it fails for any reason the operator should be informed of the error. In the case the error is in the Docker image (like this issue) the make command should fail.

What did you do to try analyzing the problem?

Working on a fix. Adjusting the subprocess.run() call seems to be the trick. Should add a test to the Makefile to catch this error to prevent from happening again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DockerDocker image and/or related script(s)bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions