Is there a better way to get local time to the second in PostgreSQL than this?
Set timezone= 'America/New_York';
Select to_char(current_timestamp, 'MM/DD/YYYY HH24:MI:SS') As EasternCurrentTime;
We do a lot of these in different places for logging within our ETL and would like to do it on one line.