Re: [HACKERS] DB-shell connect - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] DB-shell connect
Date
Msg-id 1151.899311224@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] DB-shell connect  (<geek+@cmu.edu>)
List pgsql-hackers
>> Can an SQL database (PostgreSQL) be connected to shell in a way that if
>> a directory is changed on shell it will update the database with the
>> changes?  If so how?

I assumed what he really meant was detecting additions or deletions of
files in a particular Unix directory, not trapping chdir's all over
the system...

If instant response isn't too critical, having a daemon process scan
the directory every five minutes or so seems like the least expensive/
intrusive way to do it.

            regards, tom lane

pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: [HACKERS] DB-shell connect
Next
From: De Clarke
Date:
Subject: no answer to Solaris 2.6 failure to build 6.3.2?