A. Activate pgaudit
correlation https://teguhth.blogspot.com/2024/02/enable-pgaudit-pgauditlogtofile-in.html
B. convert to table
correlation https://teguhth.blogspot.com/2024/04/convert-pgaudit-pgauditlogtofile-log.html
C. Testing sample CRUD Activity (sample database 'dwh')
1. create table pembelian;
create table barang(
KODE_BARANG char(6) not null ,
NAMA_BARANG varchar(25),
SATUAN_BARANG varchar(20),
STOK_BARANG decimal(4),
primary key (KODE_BARANG));
correlation https://teguhth.blogspot.com/2024/02/enable-pgaudit-pgauditlogtofile-in.html
B. convert to table
correlation https://teguhth.blogspot.com/2024/04/convert-pgaudit-pgauditlogtofile-log.html
C. Testing sample CRUD Activity (sample database 'dwh')
1. create table pembelian;
create table barang(
KODE_BARANG char(6) not null ,
NAMA_BARANG varchar(25),
SATUAN_BARANG varchar(20),
STOK_BARANG decimal(4),
primary key (KODE_BARANG));