Re: dblink() from GridSQL - Mailing list pgsql-general

From Merlin Moncure
Subject Re: dblink() from GridSQL
Date
Msg-id BANLkTimoLpqF3N2X9UZdo0OThoKMx9BgLw@mail.gmail.com
Whole thread Raw
In response to dblink() from GridSQL  (Sam Nelson <samn@consistentstate.com>)
Responses Re: dblink() from GridSQL  (Scott Mead <scottm@openscg.com>)
List pgsql-general
On Thu, May 5, 2011 at 12:13 PM, Sam Nelson <samn@consistentstate.com> wrote:
> Hi List,
> We have a customer who is trying to migrate a few PostgresPlus instances to
> GridSQL clusters.  They have a process that pulls data from another server
> using dblink every night, and we're trying to replicate that on the GridSQL
> instance, but grid is being a bit of a pain.
> Grid doesn't seem to allow functions in from statements, and, of course, it
> spits out errors about functions returning records being called in the wrong
> context if we just try "select dblink(foo, bar);" (we had to try it).
> Has anyone else run into this specific issue?  Is there a known workaround?
>  Any ideas on what else we should try?

have you considered wrapping the output of the dblink query in a view?

merlin

pgsql-general by date:

Previous
From: Sam Nelson
Date:
Subject: dblink() from GridSQL
Next
From: Scott Mead
Date:
Subject: Re: dblink() from GridSQL