Sha256: 6bb44a7932d790056ecb51d7e30af92865fc304803d6c16cfd4fe463c52f9135

Contents?: true

Size: 270 Bytes

Versions: 36

Compression:

Stored size: 270 Bytes

Contents

create or replace FUNCTION isalpha(ch CHAR)
  RETURNS BOOLEAN as $$
  BEGIN
    if ascii(ch) between ascii('a') and ascii('z') or
        ascii(ch) between ascii('A') and ascii('Z')
    then
      return TRUE;
    end if;
    return FALSE;
  END;
$$ language 'plpgsql';

Version data entries

36 entries across 36 versions & 1 rubygems

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