-
Notifications
You must be signed in to change notification settings - Fork 202
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
Postgres extension problems on Linux #62
Comments
Hi, I'm a Windows 7 user. For the 2nd problem:On Windows, during installation it asked for providing a password for the database superuser [postgres].
So, the solution is For the 3rd problem:When Windows users attempt to apply all the migrations like this: However, I found #59 (comment) and it helped me solve this problem! Thank you! |
I don't know if it was the environment variable or who I was logged in as but I was poking at last line from comment above, #59 (comment), and this worked to get into psql: sudo -i -u postgres |
There are some problems with the postgres tutorial extension when run on Linux:
postgresql-server-dev-X.Y
(version may vary - on Ubuntu 16.04 it is 9.5)gcc
libpython3.5-dev
The default auth setup doesn't work. (Ref Can't access postgres shell #59) - first of all, the default user can't open
psql
and create a database, that needs to be done bypostgres
user (so they must sudo). I don't know if this is something that just works on Mac or Windows?Authenticating a named (non-unix) user over the tcp socket requires a password, however the settings in the tutorial extension don't use a password (and the user is never given one). This was discussed in Can't access postgres shell #59 - there are various options for this:
Again, I don't know whether all this "just works" on windows and mac.
Interested in other opinions about what is the best way to deal with this!
The text was updated successfully, but these errors were encountered: