The only answer I found was in this message:
https://www.postgresql.org/message-id/3EE8B4ED.1060200%40pgsqldb.com
Basically, I guess, the answer is:
select cast(extract(epoch from current_timestamp) as integer);
The only answer I found was in this message:
https://www.postgresql.org/message-id/3EE8B4ED.1060200%40pgsqldb.com
Basically, I guess, the answer is:
select cast(extract(epoch from current_timestamp) as integer);