[ADMIN] Fwd: Can I bother you for some more assistance?
От | John Scalia |
---|---|
Тема | [ADMIN] Fwd: Can I bother you for some more assistance? |
Дата | |
Msg-id | CABzCKRAnPg6vJSd-6FmO0LgxtfCd9nJoTGstPUKFToD+-XkF+Q@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: [ADMIN] Fwd: Can I bother you for some more assistance?
Re: [ADMIN] Fwd: Can I bother you for some more assistance? |
Список | pgsql-admin |
Hi all,
This may not be the most appropriate forum for this question, but if anyone know of a better one, I'd be happy to change the destination, anyway I've been struggling most of this morning to get pgaudit working with object logging on a test database, but I can't seem to get it working properly. Apologies for the length of this, but here's the procedure I've been following:psql -U postgres postgres
CREATE DATABASE phi;-- Null out pgaudit.log or the extension will not load
SET pgaudit.log = '';
--- I have to exit the database at this point or the create schema database command will fail, not sure why. Maybe the audit.sql is doing something weird.
psql -U postgres phi
CREATE SCHEMA phi;SET search_path TO phi, pgaudit, public;
-- The INSERT command should not logged
-- The UPDATE should be logged
В списке pgsql-admin по дате отправления: