PostgreSQL TRANSACTION TIMESTAMP
From w3cyberlearnings
Contents |
Postgresql transaction_timestamp
It is equal to the CURRENT_TIMESTAMP, however the transaction_timestamp() returns current date and time for the current transaction.
Syntax transaction_timestamp
transaction_timestamp();
Example 1
postgres=# SELECT transaction_timestamp(); transaction_timestamp ------------------------------ 2012-06-17 00:57:58.28839-04 (1 row)
Related Links
- statement_timestamp
- timeofday
- transaction_timestamp