Outdated 'VALUES' information

Started by PG Bug reporting formabout 1 month ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/sql-values.html
Description:

Hello, please note that https://www.postgresql.org/docs/18/sql-values.html
says that 'Note that an AS clause is required when VALUES is used in a FROM
clause, just as is true for SELECT.' even though the discussed version
doesn't have this requirement for 'VALUES' command anymore.

#2Ian Lawrence Barwick
barwick@gmail.com
In reply to: PG Bug reporting form (#1)
Re: Outdated 'VALUES' information

Hi

2026年7月24日(金) 16:08 PG Doc comments form <noreply@postgresql.org>:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/sql-values.html
Description:

Hello, please note that https://www.postgresql.org/docs/18/sql-values.html
says that 'Note that an AS clause is required when VALUES is used in a FROM
clause, just as is true for SELECT.' even though the discussed version
doesn't have this requirement for 'VALUES' command anymore.

Good catch - this hasn't been the case since PostgreSQL 16 (commit bcedd8f).

I created a patch to update this: https://commitfest.postgresql.org/patch/7057/

Regards

Ian Barwick