Re: importing updated files into a database

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: fashouri <fashouri(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: importing updated files into a database
Date: 2012-08-20 05:50:57
Message-ID: 5031D041.6000400@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/19/2012 10:49 PM, fashouri wrote:
> I have files that are updated every 2 hours. I have to detect the files
> automatically and insert the information from them into a database. The
> files are simple text files and I know which part of them is useful for me.
> Our DBMS is Postgresql and programming language is python. what is your
> suggestion to do that? I want to make use of DAL (Database Abstraction
> Layer) or psycopg to make connection between the files and database and use
> postgresql LISTEN/NOTIFY techniques to detect the new files. if you agree
> with me please tell me how I can use LISTEN/NOTIFY functions to detect the
> files. Thank you

This is a re-post of a Stack Overflow question:

http://stackoverflow.com/questions/12026090/importing-updated-files-into-a-database

Fashouri, please try to link back to an SO question if you're re-posting
it somewhere else. That way you don't waste everybody's time repeating
what's already been said somewhere else and they can get onto new ideas.
Linking to the question also helps anybody who discovers your post in a
search later to find more information.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2012-08-20 07:16:24 Re: Some feedback on range types
Previous Message Thalis Kalfigkopoulos 2012-08-20 04:55:38 Different results from view and from its defintion query [w/ windowing function]