M C escribió:

> CREATE OR REPLACE FUNCTION guardar_datos_pantalla(character varying,
> integer, text[], integer, character varying)
>   RETURNS boolean AS

> Al ejecutar la función (select guardar_datos_pantalla('Titulo', 2,
> 'descripcion', 1, 'titulo');) me produce el siguiente error:
> 
> ERROR: array value must start with "{" or dimension information
> 
> 
> Esto se debe al tipo text?

En toda la funcion que mostraste no hay ningun tipo text.  Hay solamente
tipo text[] pero eso no es lo mismo; text[] es un array de text.  Los
array deben empezar con {, como dice el mensaje de error.

-- 
Alvaro Herrera                  http://www.amazon.com/gp/registry/5ZYLFMCVHXC
 Are you not unsure you want to delete Firefox?
       [Not unsure]     [Not not unsure]    [Cancel]
                   http://smylers.hates-software.com/2008/01/03/566e45b2.html
--
TIP 1: para suscribirte y desuscribirte, visita 
http://archives.postgresql.org/pgsql-es-ayuda

Responder a