Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Trouble adding indexes #251
Comments
|
Hm two issues about this so maybe there is a subtle bug in the build scripts. I presume you're using the terminal based approach. Can you login to the database and do run the following:
And paste the output here? |
jefftienchow
commented
Jul 10, 2017
|
The output is: |
|
Which schemas were listed from |
jefftienchow
commented
Jul 12, 2017
|
This was fixed by creating a database with superuser privileges and granting superuser privileges to postgres. @tompollard |
jefftienchow commentedJul 6, 2017
During the MIMIC database setup, I tried adding indexes using:
psql 'dbname=mimic user=mimic options=--search_path=mimiciii' -f postgres_add_indexes.sql
and I get this error:
psql:postgres_add_indexes.sql:19: NOTICE: index "admissions_idx01" does not exist, skipping
DROP INDEX
psql:postgres_add_indexes.sql:21: ERROR: relation "admissions" does not exist
How do I fix this so I can add indexes? Thanks.