Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] DB-shell connect

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] DB-shell connect
Date: 1998-07-01 16:40:24
Message-ID: 1151.899311224@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: 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

Next:From: Roman VolkoffDate: 1998-07-02 17:09:26
Subject: RE: [PORTS] Re: [HACKERS] no answer to Solaris 2.6 failure to bu
Previous:From: geek+Date: 1998-07-01 15:48:21
Subject: Re: [HACKERS] DB-shell connect

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group