On Sat, Apr 27, 2013 at 1:10 PM, Mario Alberto Soto Cordones
<[email protected]> wrote:
>
>
> La ejecuto de la siguiente forma:
>
> select * from vacuum_respalda_msj(2);
>
> y me da el siguiente error:
>
> -- Executing query:
>
> select * from vacuum_respalda_msj(2);
>
> ERROR: VACUUM cannot be executed from a function or multi-command string
> SQL state: 25001
> Context: SQL statement "VACUUM (ANALYZE) mensaje_ms_20130425 ;"
> PL/pgSQL function "vacuum_respalda_msj" line 9 at EXECUTE statement
>
>
> …he tratado de corregirla , pero me sigue dando el mismo error.  Alguien me
> podría dar una mano
>

y te seguira dando... el mensaje claramente dice que NO puedes
ejecutar VACUUM dentro de una función, deja de intentarlo


--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566         Cell: +593 987171157

-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripción:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

Responder a