Sha256: e5c30c3f0f9430509100a816283db351609d0facea05c096c694a0d5cf2e0ef4
Contents?: true
Size: 234 Bytes
Versions: 31
Compression:
Stored size: 234 Bytes
Contents
CREATE OR REPLACE FUNCTION hash_64( _stream_name varchar ) RETURNS bigint AS $$ DECLARE hash bigint; BEGIN select left('x' || md5(_stream_name), 16)::bit(64)::bigint into hash; return hash; END; $$ LANGUAGE plpgsql IMMUTABLE;
Version data entries
31 entries across 31 versions & 2 rubygems