census-loader icon indicating copy to clipboard operation
census-loader copied to clipboard

ERROR: role "postgres" doesn not exist

Open cwilligv opened this issue 4 years ago • 0 comments

Hi,

I'm trying to recreate option 2 from your census-loader (docker) but I get this error when it's trying to load data into the tables. It seems to be using the postgres user instead of the census user. This appears to be defined in the arguments.py script. All the docker config files set the $POSTGRES_USER env var as 'census' but somehow the script is using a different one. Should I change the pg_user from 'postgres' to 'census' in the arguments.py file?

cwilligv avatar Mar 06 '20 05:03 cwilligv