select secure_decrypt_log_id_seq.nextval,**v.PROGRAM**,
'CONTRACT_PAYMENT_ID = '||to_Char(:new.CONTRACT_PAYMENT_ID), sysdate, user, **v.MACHINE**, ls_transaction_type
from v$session v
where v.sid = (select sid from **v$mystat** where rownum = 1)
I am not able to find equivalent functions in PostgreSQL. The above code is of oracle and I cannot find any proper references to Program, Machine & mystat. AWS-SCT cannot find similar functions in Postgres