chatai/postgres_15.8.1.044/nix/tests/expected/pgaudit.out

25 lines
605 B
Plaintext

-- Note: there is no test that the logs were correctly output. Only checking for exceptions
set pgaudit.log = 'write, ddl';
set pgaudit.log_relation = on;
set pgaudit.log_level = notice;
create schema v;
create table v.account(
id int,
name text,
password text,
description text
);
insert into v.account (id, name, password, description)
values (1, 'user1', 'HASH1', 'blah, blah');
select
*
from
v.account;
id | name | password | description
----+-------+----------+-------------
1 | user1 | HASH1 | blah, blah
(1 row)
drop schema v cascade;
NOTICE: drop cascades to table v.account