Files
reddit/scripts/migrate/run-query.sh
Neil Williams 68291521b5 Move query_cache scripts to a more general "migrate" directory.
Not just for the query cache anymore!
2012-12-04 11:41:24 -08:00

9 lines
155 B
Bash
Executable File

#!/bin/bash
set -x
psql -h ${DB_HOST:-localhost} \
-d ${DB_NAME:-reddit} \
-U ${DB_USER:-reddit} \
-p ${DB_PORT:-5432} \
-F"\t" -A -t