Re: Problemas con tablas temporales y tiempo de respuesta...

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Paulina Quezada <paulina(dot)quezada(at)gmail(dot)com>, postgresayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Problemas con tablas temporales y tiempo de respuesta...
Date: 2007-03-06 22:08:36
Message-ID: 45EDE664.4010505@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Responde a la lista por favor.

Paulina Quezada escribió:
> Hola Martín, gracias por responder.
>
> Si, creo estas 80 tablas temporales en una función PL, te envío parte de
> la función:
>
>
> CREATE OR REPLACE FUNCTION abastecimientomp.fc_crearTablasTemporales()
> RETURNS int4 AS
> $BODY$
> DECLARE
> valor int;
> BEGIN
>
> CREATE TEMPORARY TABLE Paso_020(
> id_ins_p int null,
> tot_cantidad_p cantidad5 null,
> precio_prom_p precio7 null
> ) without OIDS ON COMMIT DELETE ROWS;

Esto seria:

EXECUTE $$CREATE TEMPORARY TABLE Paso_020(
id_ins_p int null,
tot_cantidad_p cantidad5 null,
precio_prom_p precio7 null
) without OIDS ON COMMIT DELETE ROWS$$

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués | Programador, DBA
Centro de Telemática | Administrador
Universidad Nacional
del Litoral
---------------------------------------------------------

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Martin Marques 2007-03-06 22:09:37 Re: Tablas temporales
Previous Message Gabriel Colina 2007-03-06 21:50:43 RE: Probelmas para actualizar una view - urgente