From: | Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> |
---|---|
To: | pginfo <pginfo(at)t1(dot)unisoftbg(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg and number of parameters by insert |
Date: | 2002-12-04 11:56:10 |
Message-ID: | 3DEDED5A.3040606@mega-bucks.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
pginfo wrote:
>
> No, it will help to correct many apps not to break.(Sorry).
I mean it will break current applications that expect no error to be
thrown if the wrong number of values are passed into an insert statement.
Either way, I wonder what the SQL specs say about this.
What do you say thos in the know, do the SQL specs have anything to say
about what happens when an insert inserts less values than the total
number of columns?
I'm guessing it says that this is fine ... I would be very surprised if
it said otherwise and Postgres wasn't up to spec on such a simple thing.
So Ivan, if the specs specifically say that this condition is acceptable
then there is nothing to be done I would think ...
But maybe one of the developers can or someone who knows the specs can
shed some light on this if you really want more info.
Sorry I can't be of more help.
Jc
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2002-12-04 12:15:00 | Re: performance tuning |
Previous Message | Martijn van Oosterhout | 2002-12-04 11:44:24 | Re: Backend message type 0x50 arrived while idle |