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: shixiong327926@gmail.com
Subject: "5.3. Identity Columns" Incorrect Usage of "VALUE" in Documentation
Date: Tue, 22 Oct 2024 08:12:01 +0000
Message-ID: <172958472112.696.6075270400394560263@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/ddl-identity-columns.html
Description:

In the PostgreSQL documentation regarding identity columns, the SQL syntax
examples incorrectly use the keyword "VALUE" instead of "VALUES". This error
could lead to confusion for users attempting to insert data into tables with
identity columns. The correct syntax for inserting data should read:

INSERT INTO people (name, address) VALUES ('A', 'foo');
INSERT INTO people (name, address) VALUES ('B', 'bar');

I recommend updating the documentation to correct this inconsistency for
clarity.


view thread (2+ messages)  latest in thread

Message-ID: <172958472112.696.6075270400394560263@wrigleys.postgresql.org>
Permalink:  ../172958472112.696.6075270400394560263@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/172958472112.696.6075270400394560263@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, shixiong327926@gmail.com
  Subject: Re: "5.3. Identity Columns" Incorrect Usage of "VALUE" in Documentation
  In-Reply-To: <172958472112.696.6075270400394560263@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