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 

--
TIP 6: ¿Has buscado en los archivos de nuestra lista de correo?
               http://archives.postgresql.org/pgsql-es-ayuda

Responder a