If this is all you want to do, you don't need Perl, you can just use psql -c.
psql -U postgres -d dbase -c "SELECT * FROM logs_column WHERE logged_in > NOW()::timestamp - interval '24hour';"In reply to Re: Postgresql output to file
by Anonymous Monk
in thread Postgresql output to file
by mikebailey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |