File: logtofile.sql

package info (click to toggle)
pgauditlogtofile 1.7.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 296 kB
  • sloc: ansic: 1,235; makefile: 26; sql: 11; sh: 7
file content (7 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
-- truncate log file before test
create table foo (t text);
copy foo from program 'sh -c "> /tmp/pgauditlogtofile"';

select 1\g

\! grep -o 'SESSION.*' /tmp/pgauditlogtofile