Search Postgresql Archives

Re: Can we have time based triggers in Postgresql??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 07, 2004 at 08:25:32AM -0500, Mike Nolan wrote:
> The security aspects of them could be important to some users or 
> potential users.  Using cron either forces one to have passwords out 
> there in plaintext in the .pgpass file or to use a 'trusted' username 
> that could also be a major security hole.  
> 
> Also, a script-based job can be changed or deleted by someone with the 
> right file permissions even though they may not have database permissions, 
> and vice versa.

Is there any particular reason why someone couldn't write a pgcron that
works exactly like cron except it reads its data from a database.

Like, say, a CRONTAB table with all the right columns. If each user has
a schema then the existance of user.CRONTAB would be jobs for that
user.

Why build it into the database if it can be done just as well
externally.

-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> This space intentionally left blank

Attachment: pgp00181.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux