Code Monkey home page Code Monkey logo

Comments (3)

MasahikoSawada avatar MasahikoSawada commented on August 15, 2024

Thank you for reporting!

After investigation, this cause of problem seems that pgaudit can not handle properly object type give by event trigger. Commit 12832c8 should fix this issue. Please try again with latest code.

from pgaudit.

harada-toshi avatar harada-toshi commented on August 15, 2024

Bug Fix Thank you.
I rebuilt the latest source and confirmed that the issue "issue 24 and 26" was resolved.

$ psql -U postgres test
psql (9.6.2)
Type "help" for help.

test=# CREATE TABLE test (id int primary key, data text);
NOTICE:  AUDIT: SESSION,1,1,DDL,,test,[local],psql,,,,,CREATE TABLE,TABLE,public.test,"CREATE TABLE test (id int primary key, data text);",<not logged>
NOTICE:  AUDIT: SESSION,1,1,DDL,,test,[local],psql,,,,,CREATE INDEX,INDEX,public.test_pkey,"CREATE TABLE test (id int primary key, data text);",<not logged>
CREATE TABLE
test=# DROP TABLE test;
NOTICE:  AUDIT: SESSION,2,1,DDL,,test,[local],psql,,,,,DROP TABLE,TABLE,public.test,DROP TABLE test;,<not logged>
NOTICE:  AUDIT: SESSION,2,1,DDL,,test,[local],psql,,,,,DROP TABLE,TABLE CONSTRAINT,test_pkey on public.test,DROP TABLE test;,<not logged>
NOTICE:  AUDIT: SESSION,2,1,DDL,,test,[local],psql,,,,,DROP TABLE,INDEX,public.test_pkey,DROP TABLE test;,<not logged>
DROP TABLE

from pgaudit.

MasahikoSawada avatar MasahikoSawada commented on August 15, 2024

Thanks! Close this issue.

from pgaudit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.