pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: y.saburov@gmail.com
Subject: Table 9.31. to_char Examples
Date: Mon, 28 Sep 2026 14:26:06 +0000
Message-ID: <179060556683.1026193.5885759110394852468@wrigleys.postgresql.org> (raw)

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 рядок)
```







view thread (3+ messages)  latest in thread

Message-ID: <179060556683.1026193.5885759110394852468@wrigleys.postgresql.org>
Permalink:  ../179060556683.1026193.5885759110394852468@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/179060556683.1026193.5885759110394852468@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, y.saburov@gmail.com
  Subject: Re: Table 9.31. to_char Examples
  In-Reply-To: <179060556683.1026193.5885759110394852468@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox