"there is no way to insert less than one row"

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема "there is no way to insert less than one row"
Дата
Msg-id 161626776179.652.11944895442156126506@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: "there is no way to insert less than one row"  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/dml-insert.html
Description:

The documentation here says the following: "Of course you can also insert
more than one row, but there is no way to insert less than one row."
I tried this in psql:
---cut---
mydb=> create temporary table t1 (i1 int, v2 varchar(100));
CREATE TABLE
mydb=> create temporary table t2 (i1 int, v2 varchar(100));
CREATE TABLE
mydb=> insert into t2 select * from t1;
INSERT 0 0
mydb=> 
---cut---
So, the last insert command inserted zero rows. What is meant by "there is
no way to insert less than one row"?

В списке pgsql-docs по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: DISTINCT term in aggregate function
Следующее
От: PG Doc comments form
Дата:
Сообщение: Wrong distance shown in miles for extension earthdistance