Re: Is there a way to change current time?

From: Eugene Pazhitnov <pazhitnov(at)gmail(dot)com>
To: "Warstone(at)list(dot)ru" <warstone(at)list(dot)ru>
Cc: "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: Is there a way to change current time?
Date: 2021-04-15 14:37:17
Message-ID: CAGfKbEyymbP91syAQAchAczY518z6yHhmQ=o1WMoBf0umBxgRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

select pg_sleep(1);

чт, 15 апр. 2021 г. в 16:45, Warstone(at)list(dot)ru <warstone(at)list(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2021-04-15 15:00:18 Re: Strange behavior once statistics are there
Previous Message Pavel Stehule 2021-04-15 14:14:27 Re: Is there a way to change current time?