Re: Documentation for CommandComplete is incorrect for CREATE TABLE with server version 10.2
В списке pgsql-docs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Documentation for CommandComplete is incorrect for CREATE TABLE with server version 10.2 |
| Дата | |
| Msg-id | 3273.1524949268@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Documentation for CommandComplete is incorrect for CREATE TABLE withserver version 10.2 (PG Doc comments form <noreply@postgresql.org>) |
| Ответы |
Re: Documentation for CommandComplete is incorrect for CREATE TABLEwith server version 10.2
|
| Список | pgsql-docs |
=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:
> The documentation says:
> For a SELECT or CREATE TABLE AS command, the tag is SELECT rows where rows
> is the number of rows retrieved.
Yeah ...
> 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)
CREATE TABLE and CREATE TABLE AS are two different things.
regression=# create table foo (x int);
CREATE TABLE
regression=# create table bar as select 1 as x;
SELECT 1
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера