public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Peter Eisentraut <[email protected]>
Cc: [email protected]
Cc: Pg Docs <[email protected]>
Subject: Re: "there is no way to insert less than one row"
Date: Wed, 24 Mar 2021 16:18:50 -0700
Message-ID: <CAKFQuwY4edByxicpaFX5vc=meE=PM7ivZzvuiqhuzo_YZft0iQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
On Wed, Mar 24, 2021 at 1:29 PM Peter Eisentraut <
[email protected]> wrote:
> On 20.03.21 20:16, PG Doc comments form wrote:
> > So, the last insert command inserted zero rows. What is meant by "there
> is
> > no way to insert less than one row"?
>
> I think the point was that you can't insert partial rows.
>
Sure, if you think its related to the following sentence. If you think its
related to the subsequent one it means "cannot insert zero rows". Frankly,
both interpretations are wrong, inserting an explicit column list with
omitted columns populated using defaults is a "partial row API" for
inserting data.
I'm also not fond of the word "conceptually" here - its actually a physical
reality that regardless of how one or more rows are supplied they are
inserted one-at-a-time so far as constraints, discussed in the previous
chapter, are concerned (though some constraints can be deferred).
David J.
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: "there is no way to insert less than one row"
In-Reply-To: <CAKFQuwY4edByxicpaFX5vc=meE=PM7ivZzvuiqhuzo_YZft0iQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox