rel-eng/packages/spacewalk-schema
| 2 +-
schema/spacewalk/postgres/triggers/rhnDistChannelMap.sql
| 2 +-
schema/spacewalk/spacewalk-schema.spec
| 5 ++++-
schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/148-rhnDistChannelMap-trigger.sql.postgresql
| 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
New commits:
commit 8dda50f59d707110a4a5b17e912bbe26ec195d1c
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Tue Nov 6 08:23:14 2012 +0100
Automatic commit of package [spacewalk-schema] release [1.9.6-1].
diff --git a/rel-eng/packages/spacewalk-schema b/rel-eng/packages/spacewalk-schema
index 93512b7..8b1ae35 100644
--- a/rel-eng/packages/spacewalk-schema
+++ b/rel-eng/packages/spacewalk-schema
@@ -1 +1 @@
-1.9.5-1 schema/spacewalk/
+1.9.6-1 schema/spacewalk/
diff --git a/schema/spacewalk/spacewalk-schema.spec
b/schema/spacewalk/spacewalk-schema.spec
index 13574fb..d131881 100644
--- a/schema/spacewalk/spacewalk-schema.spec
+++ b/schema/spacewalk/spacewalk-schema.spec
@@ -2,7 +2,7 @@ Name: spacewalk-schema
Group: Applications/Internet
Summary: Oracle SQL schema for Spacewalk server
-Version: 1.9.5
+Version: 1.9.6
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
@@ -68,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/spacewalk-sql*
%changelog
+* Tue Nov 06 2012 Tomas Lestach <tlestach(a)redhat.com> 1.9.6-1
+- use correct sequence name in PG rhnDistChannelMap trigger
+
* Thu Nov 01 2012 Jan Pazdziora 1.9.5-1
- Fixing the equivalence SHA1.
commit f1635e47a931f6987dba323a9731ca1d7e17a66a
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Tue Nov 6 08:22:26 2012 +0100
use correct sequence name in PG rhnDistChannelMap trigger
diff --git a/schema/spacewalk/postgres/triggers/rhnDistChannelMap.sql
b/schema/spacewalk/postgres/triggers/rhnDistChannelMap.sql
index 155cd40..f6c38e4 100644
--- a/schema/spacewalk/postgres/triggers/rhnDistChannelMap.sql
+++ b/schema/spacewalk/postgres/triggers/rhnDistChannelMap.sql
@@ -18,7 +18,7 @@ create or replace function rhn_dist_channel_map_mod_trig_fun() returns
trigger a
$$
begin
if new.id is null then
- new.id := nextval('rhn_rhn_dcm_id_seq');
+ new.id := nextval('rhn_dcm_id_seq');
end if;
return new;
end;
diff --git
a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/148-rhnDistChannelMap-trigger.sql.postgresql
b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/148-rhnDistChannelMap-trigger.sql.postgresql
index fd93f7f..b247736 100644
---
a/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/148-rhnDistChannelMap-trigger.sql.postgresql
+++
b/schema/spacewalk/upgrade/spacewalk-schema-1.7-to-spacewalk-schema-1.8/148-rhnDistChannelMap-trigger.sql.postgresql
@@ -4,7 +4,7 @@ create or replace function rhn_dist_channel_map_mod_trig_fun() returns
trigger a
$$
begin
if new.id is null then
- new.id := nextval('rhn_rhn_dcm_id_seq');
+ new.id := nextval('rhn_dcm_id_seq');
end if;
return new;
end;
Show replies by date