Table 9.31. to_char Examples - Mailing list pgsql-docs

From PG Doc comments form
Subject Table 9.31. to_char Examples
Date
Msg-id 179060556683.1026193.5885759110394852468@wrigleys.postgresql.org
Whole thread
Responses Re: Table 9.31. to_char Examples
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/functions-matching.html
Description:

This is not true:

```html
to_char(485, 'PL999')   '+485'
```

add examples:

```psql
db=# SELECT quote_literal(to_char(timestamp '2026-04-15','RM'));
 quote_literal
---------------
 'IV  '
(1 рядок)

db=# SELECT quote_literal(to_char(timestamp '2026-04-15','FMRM'));
 quote_literal
---------------
 'IV'
(1 рядок)

db=# SELECT quote_literal(to_char(timestamp '2026-12-31', 'rm'));
 quote_literal
---------------
 'xii '
(1 рядок)
```




pgsql-docs by date:

Previous
From: Matemática A3K
Date:
Subject: Re: Possible command-injection or meta-command execution in `psql` input
Next
From: PG Doc comments form
Date:
Subject: [Minor] Wording in "2.2. Concepts"