Skip site navigation (1) Skip section navigation (2)

Duda sobre definición de la función interna array_prepend

From: "Ing(dot) Marcos Orti­z " <mlortiz(at)uci(dot)cu>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Duda sobre definición de la función interna array_prepend
Date: 2009-10-30 02:36:19
Message-ID: 4AEA5123.6060808@uci.cu (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
El código que estaba viendo aquí en el comentario debería ser prepend
element into from of array o
como está definida?


CREATE OR REPLACE FUNCTION array_prepend(anyelement, anyarray)
  RETURNS anyarray AS
'array_push'
  LANGUAGE 'internal' IMMUTABLE
  COST 1;
ALTER FUNCTION array_prepend(anyelement, anyarray) OWNER TO postgres;
COMMENT ON FUNCTION array_prepend(anyelement, anyarray) IS 'prepend
element onto front of array';

-- 
--
"For me, the purpose is, at least partly, to have joy. Programmers often
feel joy when they can concentrate on the creative side of programming,
so Ruby is designed to make programmers happy." 
Yukihiro Matsumoto (Matz), Creator of the Ruby Language

Ing. Marcos Luís Ortíz Valmaseda
System DBA && Rails New User
Centro de Tecnologías de Almacenamiento y Anális de Datos (CENTALAD)
Universidad de las Ciencias Informáticas

Linux User # 418229

http://www.freebsd.org
http://www.postgresql-es.org
http://www.postgresql.org
http://www.planetpostgresql.org
http://www.rubyonrails.org
http://www.ruby-lang.org 


Responses

pgsql-es-ayuda by date

Next:From: Ing. Marcos Orti­z Date: 2009-10-30 02:56:52
Subject: MapReduce + PostgreSQL
Previous:From: Yudelsy Castellón GarcíaDate: 2009-10-29 22:02:54
Subject: RV: enviar a pgsql-es-ayuda@postgresql.org

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group