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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-es-ayuda by date

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