X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 15AACD8351 for ; Wed, 19 Oct 2005 12:59:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05169-03 for ; Wed, 19 Oct 2005 15:59:27 +0000 (GMT) Received: from web36701.mail.mud.yahoo.com (web36701.mail.mud.yahoo.com [209.191.85.35]) by svr1.postgresql.org (Postfix) with SMTP id A975CDA4C4 for ; Wed, 19 Oct 2005 12:59:27 -0300 (ADT) Received: (qmail 53349 invoked by uid 60001); 19 Oct 2005 15:59:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.ar; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bm7kTr3FJMj1cdfMklH7OsQrd4laCgVyuuxmDJWMGCMYJHSB9w6zi5GMSncfwadwrZB7XAHaLtv9H8WHGOLZkbWVFZAcJmMXP8rfs6vR8CoZuyVpC9tAMJzLOQgbbg+ErHstj3yRm0Z2WJbraJ38aQY3K+vF6B07X/egfAKtlbE= ; Message-ID: <20051019155923.53347.qmail@web36701.mail.mud.yahoo.com> Received: from [201.252.147.117] by web36701.mail.mud.yahoo.com via HTTP; Wed, 19 Oct 2005 15:59:23 GMT Date: Wed, 19 Oct 2005 15:59:23 +0000 (GMT) From: Adriana Marcela Aguirre Subject: =?iso-8859-1?q?Sql=20-=20Error=20en=20ejecuci=F3n=20de=20funci=F3n=20Post?= =?iso-8859-1?q?gres=20desde=20cliente=20VFoxPro?= To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-501312280-1129737563=:53069" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.029 required=5 tests=[AWL=-0.028, HTML_30_40=0.056, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200510/221 X-Sequence-Number: 23074 --0-501312280-1129737563=:53069 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hola a todos!! Muchas gracias a Mario Splivalo por responder mi mail anterior!!! Tengo otro problema. Yo ejecuto una función en Postgresql desde una aplicación realizada en VFoxPro. La función crea una tabla temporal con la sintaxis CREATE TEMPORAY TABLE tmp_datos (...) ON COMMIT DROP; Si ejecuto esta función varias veces desde el pgAdmin, por ej, no tiene problemas. Pero si intento ejecutarla más de una vez desde VFoxPro a través de sql = "select * from f_rep_datos_lab( 'USUARIO') aaa=sqlexec(db_cone,sql, "repo") da el error "Relation tmp_datos already exists" Alguien me puede decir porqué o cómo se soluciona? Desde ya, muchas gracias!! Atte. Adriana --------------------------------- 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo Abrí tu cuenta aquí --0-501312280-1129737563=:53069 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hola a todos!!
 
Muchas gracias a Mario Splivalo por responder mi mail anterior!!!
Tengo otro problema. Yo ejecuto una función en Postgresql desde una aplicación realizada en VFoxPro. La función crea una tabla temporal con la sintaxis
CREATE TEMPORAY TABLE tmp_datos (...) ON COMMIT DROP; 
Si ejecuto esta función varias veces desde el pgAdmin, por ej, no tiene problemas. Pero si intento ejecutarla más de una vez desde VFoxPro a través de
sql = "select * from f_rep_datos_lab( 'USUARIO')
aaa=sqlexec(db_cone,sql, "repo")
 
da el error "Relation tmp_datos already exists"
 
Alguien me puede decir porqué o cómo se soluciona?
 
Desde ya, muchas gracias!!
 
Atte. Adriana
 


1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
Abrí tu cuenta aquí --0-501312280-1129737563=:53069--