| From: | Juan <smalltalker(dot)marcelo(at)gmail(dot)com> | 
|---|---|
| To: | gilberto(dot)castillo(at)etecsa(dot)cu | 
| Cc: | Jaime Casanova <jaime(at)2ndquadrant(dot)com>, Anthony Rafael Sotolongo Leon <asotolongo(at)uci(dot)cu>, Ayuda <pgsql-es-ayuda(at)postgresql(dot)org> | 
| Subject: | Re: problema con dblink | 
| Date: | 2012-11-15 18:18:29 | 
| Message-ID: | CAKizN9yoL0j=WfgOFwn5Yq7r2LDRX7UWCKsBPu9ghe-3iH7v4Q@mail.gmail.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-es-ayuda | 
Gente
OTra prueba.
select  public.dblink_connect ('host=127.0.0.1 ... ' ::text );
select dblink_exec( ' perform   update_or_insert_nacionalidades( ''22''
::text  ,''Colombiana'' ::text  )  ') ;
select   dblink_disconnect();
y el error es:-
ERROR:  syntax error at or near "perform"
CONTEXT:  Error occurred on dblink connection named "unnamed": could not
execute command.
********** Error **********
ERROR: syntax error at or near "perform"
Estado SQL:42601
Contexto:Error occurred on dblink connection named "unnamed": could not
execute command.
saludos
jmdc
On Thu, Nov 15, 2012 at 3:12 PM, Juan <smalltalker(dot)marcelo(at)gmail(dot)com> wrote:
> Gente
>
>
> ahora probe en el pgadmin
>
>
>
>
> select  public.dblink_connect ('host=127.0.0.1.....' ::text );  -> OK
> select dblink_exec( ' select  update_or_insert_nacionalidades( ''22''
> ::text  ,''Colombiana'' ::text  ) into p ;') ;
>
> select   dblink_disconnect(); --> OK
>
> ERROR:  column "update_or_insert_nacionalidades" has pseudo-type void
> CONTEXT:  Error occurred on dblink connection named "unnamed": could not
> execute command.
>
> ********** Error **********
>
> ERROR: column "update_or_insert_nacionalidades" has pseudo-type void
> Estado SQL:42P16
> Contexto:Error occurred on dblink connection named "unnamed": could not
> execute command.
>
>
> cualquier idea , será agradecida.
>
> saludos
>
> jmdc
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gilberto Castillo | 2012-11-15 18:59:30 | Re: problema con dblink | 
| Previous Message | Juan | 2012-11-15 18:12:43 | Re: problema con dblink |