[pgpool-general: 5942] selecting timestamp
    chris 
    chrisk at pgsqlrocket.com
       
    Wed Feb 28 02:04:56 JST 2018
    
    
  
What is the best way of selecting current timestamp in UTC?
SELECT
CURRENT_TIMESTAMP   as ct1
,timezone('UTC',CURRENT_TIMESTAMP) as ct2
,timezone('utc',now()) as ct3
,CURRENT_TIMESTAMP at time zone 'UTC' as ct4
,NOW() at time zone 'utc' as ct5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20180227/f3b79406/attachment.htm>
    
    
More information about the pgpool-general
mailing list