Re: pg and number of parameters by insert - Mailing list pgsql-general

From pginfo
Subject Re: pg and number of parameters by insert
Date
Msg-id 3DEDDA3D.964F1430@t1.unisoftbg.com
Whole thread Raw
In response to Re: pg and number of parameters by insert  (Dennis Björklund <db@zigo.dhs.org>)
List pgsql-general
Hi,

Jean-Christian Imbeault wrote:

> Dennis Björklund wrote:
>  >
>  > It's the same resom that if you have a C function taking two
> arguments and
>  > you try to call it with one you get an error.
>
> Aaaahhhh, I see the light.
>

Sarry my english is bad and I can to explain the problem ( I am speaking good
German ).

> I completely agree with you that it would be nice to get a warning.

No, it shold be error, it is not warning.

>
>
> What do the SQL specs have to say about this? Maybe it's not an error
> because the specs require it not to be an error? (I have no idea, just
> asking)
>
> If the specs don't say either way, then a warning would be nice, and an
> error better. But I bet that throwing an error would break a lot of apps ;)
>

No, it will help to correct many apps not to break.(Sorry).

> Jc

  ivan.


pgsql-general by date:

Previous
From: pginfo
Date:
Subject: Re: pg and number of parameters by insert
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Backend message type 0x50 arrived while idle