pgsql: Make jsonpath .string() be immutable for datetimes.

2024-09-12 Thread Tom Lane
Make jsonpath .string() be immutable for datetimes. Discussion of commit ed055d249 revealed that we don't actually want jsonpath's .string() method to depend on DateStyle, nor TimeZone either, because the non-"_tz" jsonpath functions are supposed to be immutable. Potentially we could allow a Time

pgsql: Make jsonpath .string() be immutable for datetimes.

2024-09-12 Thread Tom Lane
Make jsonpath .string() be immutable for datetimes. Discussion of commit ed055d249 revealed that we don't actually want jsonpath's .string() method to depend on DateStyle, nor TimeZone either, because the non-"_tz" jsonpath functions are supposed to be immutable. Potentially we could allow a Time