diff options
| author | Olivier Dony <odo@openerp.com> | 2013-03-13 16:20:20 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-03-13 16:20:20 +0100 |
| commit | ab76b7a67f9042c90abc292f9f3bb00eae33e066 (patch) | |
| tree | 8f3263901397f0cf2b3ddcf453c01d8071402442 /addons/analytic_user_function | |
| parent | 52e47a660a1996dac6d1f9d729fef3bd35eac959 (diff) | |
[FIX] web_services: fix db dump/restore when authentication requires a password on non-win32 systems
The various pg_* utilities require the password
via a special environment variable or a special
`pgpass` file in the user home, even on Unix,
namely when the PostgreSQL connection is done
via TCP and not via a unix socket.
Setting the environment variable is relatively
safe if it is removed from the environment
immediately after the operation, and saves user
the trouble of managing the pgpass file themselves.
This had been fixed at revision 3992 but was
incorrectly removed for non win32 platforms
at revision 4424 (rev-id stw@openerp.com-20120912114651-8hcliparft1ep9tc)
lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed
bzr revid: odo@openerp.com-20130313152020-suo2pyrabae0ecg4
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
