Alon Bar-Lev has posted comments on this change.
Change subject: db: do not write to dbscripts after installation
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File backend/manager/dbscripts/dbfunctions.sh
Line 86:
Line 87: CMD="select * from generate_drop_all_functions_syntax();"
Line 88: execute_command "$CMD" ${DATABASE} ${SERVERNAME} ${PORT} >
"${drop_all_functions}"
Line 89: execute_file "${drop_all_functions}" ${DATABASE} ${SERVERNAME}
${PORT} > /dev/null
Line 90: \rm -f "${drop_all_functions}"
Nope, oh well, although there is systemd service that tries to do so, it is
best to cleanup the mess within the application without relying on external
services for that.
Line 91:
Line 92: #drop old uuid functions
Line 93: psql -U postgres -h ${SERVERNAME} -p ${PORT} -f
drop_old_uuid_functions.sql ${DATABASE} > /dev/null
Line 94: # recreate generic functions
--
To view, visit http://gerrit.ovirt.org/12989
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic7e9f477c94047176ab5c4406cea1275af68376d
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