Documentation for CommandComplete is incorrect for CREATE TABLE with server version 10.2

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: alexander(dot)kjall(at)gmail(dot)com
Subject: Documentation for CommandComplete is incorrect for CREATE TABLE with server version 10.2
Date: 2018-04-27 16:05:43
Message-ID: 152484514371.19805.1929006962334941488@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/protocol-message-formats.html
Description:

On this page:
https://www.postgresql.org/docs/10/static/protocol-message-formats.html

The documentation says:

For a SELECT or CREATE TABLE AS command, the tag is SELECT rows where rows
is the number of rows retrieved.

But what I get back from the server is this packet:

0000 43 00 00 00 11 43 52 45 41 54 45 20 54 41 42 4c C....CREATE TABL
0010 45 00 E.

The query I sent to the server was:

create table table1(i int)

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-04-27 18:48:53 Isn't "publication" wrongly defined here?
Previous Message Tom Lane 2018-04-27 15:16:29 Re: Appendix A. PostgreSQL Error Codes