now() literal in pg_input_is_valid

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: now() literal in pg_input_is_valid
Date: 2023-07-09 12:13:13
Message-ID: CACJufxGbc71X4gv-4rZ717FVmYsB-Yi4oVqVfMY2xypZG4J_Og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi
should I expect
select pg_input_is_valid($$[now(), infinity)$$,'tstzrange');
returns true?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rita 2023-07-09 13:27:57 Re: pgbouncer best practices
Previous Message Peter J. Holzer 2023-07-09 11:01:49 Re: How to add function schema in search_path in option definitio