Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import-sql failes if PSQL_OPTIONS is not set or empty #209

Open
JensTimmerman opened this issue Apr 5, 2020 · 0 comments
Open

import-sql failes if PSQL_OPTIONS is not set or empty #209

JensTimmerman opened this issue Apr 5, 2020 · 0 comments

Comments

@JensTimmerman
Copy link

When running import-sql I get the error

Importing openmaptiles.sql (md5 fc418c3ac5dfa1ae4328cc6d121fbb51  -  4416 lines) into Postgres...
./import-sql: line 28: psql_opts[@]: unbound variable

export PSQL_OPTIONS= doesn't make a difference
I have to set export PSQL_OPTIONS=-a before the script works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant