Eli Mesika has posted comments on this change.

Change subject: db: allow overriding PGPASSFILE using ENGINE_PASSFILE
......................................................................


Patch Set 1: Looks good to me, approved

(1 inline comment)

....................................................
File backend/manager/dbscripts/dbcustomfunctions.sh
Line 20: 
Line 21:     # When running in development environments the .pgpass file may not
Line 22:     # exist or might not be readable, so we should try to use the file
Line 23:     # stored in the home directory of the user instead:
Line 24:     PGPASSFILE="${ENGINE_PGPASS:-/etc/ovirt-engine/.pgpass}"
Nice to learn , thanls
Line 25:     if [ ! -r "${PGPASSFILE}" ]
Line 26:     then
Line 27:         PGPASSFILE="${HOME}/.pgpass"
Line 28:     fi


--
To view, visit http://gerrit.ovirt.org/12988
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I89e12fb7cdcd97cb46738aa24a73d0b4fd8b5f01
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to