Re: Is there a way to change current time? - Mailing list pgsql-performance

From Eugene Pazhitnov
Subject Re: Is there a way to change current time?
Date
Msg-id CAGfKbEyymbP91syAQAchAczY518z6yHhmQ=o1WMoBf0umBxgRA@mail.gmail.com
Whole thread Raw
In response to Is there a way to change current time?  (Warstone@list.ru <warstone@list.ru>)
List pgsql-performance

select pg_sleep(1);

чт, 15 апр. 2021 г. в 16:45, Warstone@list.ru <warstone@list.ru>:
Hi,
 
Is there any way to set time that CURRENT_TIMESTAMP and/or now() will give next time? (We need it only for testing purposes so if there is any hack, cheat, etc. It will be fine)
 
 
 
 


--
Evgeny Pazhitnov

pgsql-performance by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Is there a way to change current time?
Next
From: Tom Lane
Date:
Subject: Re: Strange behavior once statistics are there