Project

General

Profile

« Previous | Next » 

Revision 12371

schemas/util.sql: added quote_typed()

View differences:

util.sql
2233 2233

  
2234 2234

  
2235 2235
--
2236
-- Name: quote_typed(anyelement); Type: FUNCTION; Schema: util; Owner: -
2237
--
2238

  
2239
CREATE FUNCTION quote_typed(value anyelement) RETURNS text
2240
    LANGUAGE sql IMMUTABLE
2241
    AS $_$
2242
SELECT quote_nullable($1)||$$::$$||pg_typeof($1)
2243
$_$;
2244

  
2245

  
2246
--
2236 2247
-- Name: raise_error_notice(text); Type: FUNCTION; Schema: util; Owner: -
2237 2248
--
2238 2249

  

Also available in: Unified diff