Re: Where are the legal values for LC_TIME listed?

2021-05-17 Thread Bryn Llewellyn
t...@sss.pgh.pa.us wrote: > Bryn wrote: > >> It’s easy to guess values for, say, countries in Europe: > > On Unix-ish systems, "locale -a" should provide the set of available values. > We don't attempt to document this because it's so installation-dependent. > >> But what do I use for, say,

Re: Where are the legal values for LC_TIME listed?

2021-05-17 Thread Tom Lane
Bryn Llewellyn writes: > It’s easy to guess values for, say, countries in Europe: On Unix-ish systems, "locale -a" should provide the set of available values. We don't attempt to document this because it's so installation-dependent. > But what do I use for, say, Simplified Chinese? Maybe you

Where are the legal values for LC_TIME listed?

2021-05-17 Thread Bryn Llewellyn
It’s easy to guess values for, say, countries in Europe: This: create function to_char_demo() returns table(z text) language plpgsql as $body$ declare -- Counted from midnight 1-Jan-1970 UTC. secs constant double precision not null := 94996756799.456789; t constant timestamp