Re: dblink() from GridSQL

From: Scott Mead <scottm(at)openscg(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Sam Nelson <samn(at)consistentstate(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: dblink() from GridSQL
Date: 2011-05-05 18:36:54
Message-ID: BANLkTin=tfk_PNUUjJabfrDCWUx28yLg5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 5, 2011 at 1:40 PM, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:

> On Thu, May 5, 2011 at 12:13 PM, Sam Nelson <samn(at)consistentstate(dot)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?
>

GridSQL itself doesn't support functions.

> Is there a known workaround?
> > Any ideas on what else we should try?
>
>
You'd have to present the data to be partitioned to the gsql controller for
partitioning to happen properly, or use the high-speed import that it comes
with. Could you dump the data to an intermediary csv and then push it at
the import utility?

--Scott

> have you considered wrapping the output of the dblink query in a view?
>
> merlin
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mirthcyy 2011-05-05 18:54:17 multiple sequence number for one column
Previous Message Merlin Moncure 2011-05-05 17:40:58 Re: dblink() from GridSQL