File: logtofile.sql

package info (click to toggle)
pgauditlogtofile 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 288 kB
  • sloc: ansic: 1,211; makefile: 21; sql: 11; sh: 7
file content (7 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (2)
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