Re: making postgresql "source" its data feed from external csv file ... - Mailing list pgsql-jdbc

From Maciek Sakrejda
Subject Re: making postgresql "source" its data feed from external csv file ...
Date
Msg-id AANLkTikN5bHyCf6zvCJxcfiB28UC6P_w2zBdODCHLG32@mail.gmail.com
Whole thread Raw
In response to making postgresql "source" its data feed from external csv file ...  (Albretch Mueller <lbrtchx@gmail.com>)
List pgsql-jdbc
If your tables are read-only (which it kind of sounds like), you could
abstract out the reload mechanism, use the current implementation for
the in-memory databases, and use a combination of watching the CSV
files (e.g., through inotify on Linux) and TRUNCATE / COPY in
PostgreSQL. I think how well this will work will really depend on what
you're doing with the system, but it could be worth a shot.
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: making postgresql "source" its data feed from external csv file ...
Next
From: Albretch Mueller
Date:
Subject: Re: making postgresql "source" its data feed from external csv file ...