------------------------------------------------------------------------ -- $Source: /local/data/cvs/yellowbank/postgres/src/y_util/y_util.sql,v $ -- $Revision: 1.3 $ -- $State: Exp $ -- $Date: 2006/10/24 02:09:59 $ -- $Author: yrp001 $ -- $Locker: $ ------------------------------------------------------------------------ ------------------------------------------------------------------------ -- Copyright (c) 2006 -- Ronald Peterson -- (Y) Yellowbank -- All rights reserved. Applicable BSD license terms can be found in -- the associated LICENSE file. ------------------------------------------------------------------------ CREATE OR REPLACE FUNCTION y_bytea_to_hex(bytea) RETURNS text AS 'y_util.so', 'y_bytea_to_hex' LANGUAGE C STRICT IMMUTABLE; -- CREATE OR REPLACE FUNCTION -- y_bytea_size(bytea) -- RETURNS -- integer -- AS -- 'y_util.so', 'y_bytea_size' -- LANGUAGE -- C -- STRICT IMMUTABLE;