Originally i have a timestamp column named "created_at" set with the following:
- Type : timestamp with time zone
- default value : transaction_timestamp()
However, i noticed that the value of "created_at" when i insert a new record, it does not include the trailing timezone.
Then i tried to run
SELECT CURRENT_TIMESTAMP;
Oddly enough, it only returns (i copy paste the value below)
2020-06-03 16:55:36.637892
Reading this manual here:
https://www.postgresql.org/docs/8.2/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
i am expecting to get the timezone information as well, when running the above statement.
I am using Datagrip as my IDE to do the above.
Does anyone know why ?