#23658: Provide the password to PostgreSQL from "dbshell" command
-------------------------------------+-------------------------------------
Reporter: etanol | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: postgresql dbshell | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by rhertzog):
I would like to point out the discussion we just had on
http://bugs.debian.org/781033 : namely that PGPASSWD is a deprecated
feature. The correct way to handle this would be to setup a temporary
password file that is then passed to the PGPASSFILE environment variable.
http://www.postgresql.org/docs/9.0/interactive/libpq-envars.html
https://stackoverflow.com/questions/6523019/postgresql-scripting-psql-
execution-with-password
--
Ticket URL: <https://code.djangoproject.com/ticket/23658#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.4a52a97f739973ec4798276a7e2c06ad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.