Sha256: 495e7c6183b26e555f2832a8c9e530e809a054976ea06e16e7c75a4816714d62

Contents?: true

Size: 352 Bytes

Versions: 36

Compression:

Stored size: 352 Bytes

Contents

CREATE FUNCTION evr_trigger() RETURNS trigger AS $$
  BEGIN
    NEW.evr = (select ROW(coalesce(NEW.epoch::numeric,0),
                          rpmver_array(coalesce(NEW.version,'empty'))::evr_array_item[],
                          rpmver_array(coalesce(NEW.release,'empty'))::evr_array_item[])::evr_t);
    RETURN NEW;
  END;
$$ language 'plpgsql';

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
katello-3.18.5 db/functions/evr_trigger_v01.sql
katello-3.18.4 db/functions/evr_trigger_v01.sql
katello-3.18.3.1 db/functions/evr_trigger_v01.sql
katello-3.18.3 db/functions/evr_trigger_v01.sql
katello-3.18.2.1 db/functions/evr_trigger_v01.sql
katello-3.18.2 db/functions/evr_trigger_v01.sql
katello-3.17.3 db/functions/evr_trigger_v01.sql
katello-3.18.1.1 db/functions/evr_trigger_v01.sql
katello-3.17.2 db/functions/evr_trigger_v01.sql
katello-4.0.0.rc1 db/functions/evr_trigger_v01.sql
katello-3.18.1 db/functions/evr_trigger_v01.sql
katello-3.18.0 db/functions/evr_trigger_v01.sql
katello-3.17.1 db/functions/evr_trigger_v01.sql
katello-3.16.2 db/functions/evr_trigger_v01.sql
katello-3.18.0.rc2.1 db/functions/evr_trigger_v01.sql
katello-3.18.0.rc2 db/functions/evr_trigger_v01.sql
katello-3.17.0 db/functions/evr_trigger_v01.sql
katello-3.18.0.rc1 db/functions/evr_trigger_v01.sql
katello-3.17.0.rc2.2 db/functions/evr_trigger_v01.sql
katello-3.17.0.rc2.1 db/functions/evr_trigger_v01.sql