Change in ovirt-engine[master]: core: Don't use PostgreSQL UUID extension

emesika at redhat.com emesika at redhat.com
Tue Nov 6 22:16:52 UTC 2012


Eli Mesika has submitted this change and it was merged.

Change subject: core: Don't use PostgreSQL UUID extension
......................................................................


core: Don't use PostgreSQL UUID extension

Replace the uuid_generate_v1 function from the uuid-ossp extension with
a custom function that generates UUIDs from a sequence. That way we
don't need the extension any longer.

Note that this is the first step to remove completely the generation of
UUIDs in the database, as they should be generated by the engine.

Change-Id: I819e37224288b202d2126cec475ee1d97f83a925
Bug-Url: https://bugzilla.redhat.com/870056
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/dbscripts/create_db.sh
M backend/manager/dbscripts/create_db_devel.sh
M backend/manager/dbscripts/create_functions.sql
M backend/manager/dbscripts/dbfunctions.sh
M backend/manager/dbscripts/engine-db-install.sh
M packaging/fedora/setup/engine_validators.py
M packaging/fedora/spec/ovirt-engine.spec.in
7 files changed, 43 insertions(+), 101 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I819e37224288b202d2126cec475ee1d97f83a925
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ohad Basan <obasan at redhat.com>



More information about the Engine-commits mailing list