twitter_fdw-0.1

Lists: pgsql-hackers
From: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: twitter_fdw-0.1
Date: 2010-12-02 07:31:54
Message-ID: AANLkTi=vcSDa6QQudYjDwnBGR9z1hHd+=XSz9EZux_Hv@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

I've written twitter_fdw, which makes "twitter" table to get twitter
search result by SELECT statement. This is done against WIP SQL/MED
version PostgreSQL (git sha-1 is
c5e027c32b8faf0e2d25b8deecb4d3c05399411c). To play with it, make &&
make install, run the install script as you usually do so with contrib
modules and connect the server, then,

SELECT from_user, created_at, text FROM twitter WHERE q = '#postgresql';

or so. Please find attached archive and enjoy it!

FDW handlers for Web Services tend to be more difficult than file_fdw
and easier than postgresql_fdw in many cases. SERVER options and USER
MAPPING will be a great help to login remote services. I'd really love
to see in the future countless FDW modules to connect to various web
services that is installed by CREATE EXTENSION distributed by PGXN
(btw, congrats on your goal!).

Regards,

--
Hitoshi Harada

Attachment Content-Type Size
twitter_fdw-0.1.tgz application/x-gzip 79.1 KB

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: twitter_fdw-0.1
Date: 2010-12-02 17:37:13
Message-ID: 4CF7D949.4050603@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hitoshi,

> I've written twitter_fdw, which makes "twitter" table to get twitter
> search result by SELECT statement. This is done against WIP SQL/MED
> version PostgreSQL (git sha-1 is
> c5e027c32b8faf0e2d25b8deecb4d3c05399411c). To play with it, make&&
> make install, run the install script as you usually do so with contrib
> modules and connect the server, then,

This is way cool! Will have to try it out.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com