agora inbox for pgsql-docs@postgresql.org  
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: 9.4.1. format
Date: Sat, 19 Sep 2026 05:52:22 +0000
Message-ID: <178979714249.1241.1230833804069549466@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

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

>> Here are some examples of the basic format conversions:

```html
SELECT format('INSERT INTO %I VALUES(%L)', 'locations', 'C:\Program Files');
Result: INSERT INTO locations VALUES('C:\Program Files')
```

```sql
db=# SELECT format('INSERT INTO %I VALUES(%L)', 'locations', 'C:\Program
Files');

                       format
----------------------------------------------------
 INSERT INTO locations VALUES(E'C:\\Program Files')
```






view thread (4+ messages)  latest in thread

Message-ID: <178979714249.1241.1230833804069549466@wrigleys.postgresql.org>
Permalink:  ../178979714249.1241.1230833804069549466@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/178979714249.1241.1230833804069549466@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: 9.4.1. format
  In-Reply-To: <178979714249.1241.1230833804069549466@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox