| From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
|---|---|
| To: | "Fernanda Fueltala" <fernandamagaly(at)yahoo(dot)es> |
| Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: Error en funcion con OID |
| Date: | 2006-11-02 03:55:30 |
| Message-ID: | c2d9e70e0611011955s3ebb77f6y5bf7225826234f26@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
On 10/31/06, Fernanda Fueltala <fernandamagaly(at)yahoo(dot)es> wrote:
> Hola a todos, he creado la siguiente funcion, con una tabla temporal la
> primera vez la ejecuta muy bien pero la segunda vez sale un error de
> "relation with OID 65183 does not exist", por favor alguien podria ayudarme
> a solucionarlo,
> Gracias
>
>
> CREATE OR REPLACE FUNCTION ci_c_funcion(p_datos "varchar")
> RETURNS SETOF t_prueba AS
> $BODY$
> DECLARE
> recordsalida record;
>
> BEGIN
> --Creacion de tabla temporal
> CREATE TABLE t_prueba_temp
ese es un bug conocido de postgres crea la tabla temporal dentro de un EXECUTE
EXECUTE ' CREATE TABLE t_prueba_temp (... columnas...) '
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Raúl Andrés Duque | 2006-11-02 09:34:53 | Re: COMMIT WORK y COMMIT TRANSACTION |
| Previous Message | Alvaro Herrera | 2006-11-01 23:58:53 | Re: Reordenar campos en tablas |