Last edit: @kyork in <!error getting other user for D2XTZTJ22> 1 year ago - Slack Archive

`echo "COPY (SELECT * FROM module_logger_logs WHERE channel = 'G11111') TO STDOUT" | psql -h 127.0.0.1 -U marvin_prod marvin_prod > slack_logs.tsv`

History

Revision: 2787 by @kyork in <!error getting other user for D2XTZTJ22> 1 year agoSlack Archive

`echo "COPY (SELECT * FROM module_logger_logs WHERE channel = 'G11111') TO STDOUT" | psql -h 127.0.0.1 -U marvin_prod marvin_prod > slack_logs.tsv`

Revision: 387 by @kyork in #marvin-dev 2 years agoSlack Archive

`echo "COPY (SELECT * FROM module_logger_logs WHERE LEFT(channel, 1) = 'C') TO STDOUT" | psql -U marvin_prod marvin_prod > slack_logs.tsv`

Revision: 386 by @kyork in #marvin-dev 2 years agoSlack Archive

`echo "COPY (SELECT * FROM module_logger_logs WHERE LEFT(channel, 1) = 'C') TO STDOUT" | psql -U marvin_prod -W marvin_prod -h 127.0.0.1 > slack_logs.tsv`