Re: pg and number of parameters by insert

Поиск
Список
Период
Сортировка
От pginfo
Тема Re: pg and number of parameters by insert
Дата
Msg-id 3DEDDA3D.964F1430@t1.unisoftbg.com
обсуждение исходный текст
Ответ на Re: pg and number of parameters by insert  (Dennis Björklund <db@zigo.dhs.org>)
Список 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 по дате отправления:

Предыдущее
От: pginfo
Дата:
Сообщение: Re: pg and number of parameters by insert
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Backend message type 0x50 arrived while idle