Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUB3N-0008NJ-HB for pgsql-docs@arkaria.postgresql.org; Wed, 07 Apr 2021 16:29:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lUB3M-0007BJ-Eu for pgsql-docs@arkaria.postgresql.org; Wed, 07 Apr 2021 16:29:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU6lh-00042I-HL for pgsql-docs@lists.postgresql.org; Wed, 07 Apr 2021 11:54:46 +0000 Received: from forward5-smtp.messagingengine.com ([66.111.4.239]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU6lc-00019J-Oq for pgsql-docs@lists.postgresql.org; Wed, 07 Apr 2021 11:54:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.nyi.internal (Postfix) with ESMTP id 501EF1940E4C; Wed, 7 Apr 2021 07:54:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 07 Apr 2021 07:54:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=D1Iy4WAVIwRVSWhi6geXc4ZWC01Q2rs5xVZ3tO82c +4=; b=wnWmyZGS12CpOsdnNIfALXCpdBnPQiDS11j0G0yKL2QIDGvwKGlx0oYem NeVtNIIJ1hoMsHOfFZjcURqhvucZqPgYjjzDqHiTu6PRPtsMpgWrsxrsjRCb41GU xvlOQg10YVp3qVxZLvsmth0esEdEPzHIRWbf9+FQoeRNEZb+xkkV6316ixIvblhU 90bPC+Uy1eCVS0Ih56ngi/yBtToCck9geG4tEfMN4d6pwpB4Ri1qjfk/aInO8rPT C+TLl5Zsqn/Loqmi2V7EYbhKMtLAPZFLCEdUHQy7+bR42WUISnXOuuWMx7cMsYnS EV06GyQwGuV4JMbGu2KOJ/1woI8BQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejjedggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepleevheehueeiudeiteei tdekueetleefteejffeiffdugedvffdvffdtiedvueeknecukfhppeelfedrvddtvddrvd ehfedrudegfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvuggsrdgtoh hm X-ME-Proxy: Received: from laptop206oxuk.local (p5dcafd8f.dip0.t-ipconnect.de [93.202.253.143]) by mail.messagingengine.com (Postfix) with ESMTPA id 827C124005B; Wed, 7 Apr 2021 07:54:36 -0400 (EDT) Subject: Re: "there is no way to insert less than one row" To: Alvaro Herrera , "David G. Johnston" Cc: max1@inbox.ru, Pg Docs References: <20210324235502.GA19006@alvherre.pgsql> From: Peter Eisentraut Message-ID: Date: Wed, 7 Apr 2021 13:54:34 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210324235502.GA19006@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 25.03.21 00:55, Alvaro Herrera wrote: > : When a table is created, it contains no data. The first thing to do > : before a database can be of much use is to insert data. Data is > : inserted one row at a time. Of course you can also insert > : more than one row in a single command, but it is not possible to > : insert something that is not a complete row. > : Even if you know only some column values, a complete row is created. > > The next paragraphs explain that omitted columns are defaulted, which > IMO flows neatly from here. done that way