Re: Creating a read/write virtual table?

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Ben Martin <monkeyiq(at)users(dot)sourceforge(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Creating a read/write virtual table?
Date: 2010-04-13 01:00:17
Message-ID: 4BC3C221.3010702@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/04/10 17:52, Ben Martin wrote:

> A few things I do with the SQLite engine are analysing apache log files,
> or other separated files (like running awk with SQL as the query
> language), and interacting with web services as a table, eg, selecting
> data from a google spreadsheet and a local sqlite database in a single
> query. As a fair amount of the use cases I have are simply introducing
> and joining data from other sources into queries I think perhaps
> starting out with just a record set returning function would be a good
> thing.
>
> This nicely avoids the issues that the filesystem can't really do MVCC
> or transactions properly, but gives access to some more diverse data in
> a query for folks who want to perform such queries.
>

If that's all you're after, you may well be able to use the existing
COPY protocol to populate a temp table by outputting suitable csv from
your data source.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message raghavendra t 2010-04-13 01:31:59 Dynamic Catalog Views
Previous Message Bruce Momjian 2010-04-13 00:57:52 Re: Wikipedia entry - AmigaOS port - error?